An open API service indexing awesome lists of open source software.

https://github.com/opentable/grunt-get-last-pinned

Get the last-pinned build number from a teamcity build
https://github.com/opentable/grunt-get-last-pinned

possible-delete

Last synced: over 1 year ago
JSON representation

Get the last-pinned build number from a teamcity build

Awesome Lists containing this project

README

          

# grunt-get-last-pinned [![Build Status](https://travis-ci.org/opentable/grunt-get-last-pinned.png?branch=master)](https://travis-ci.org/opentable/grunt-get-last-pinned) [![NPM version](https://badge.fury.io/js/grunt-get-last-pinned.png)](http://badge.fury.io/js/grunt-get-last-pinned) ![Dependencies](https://david-dm.org/opentable/grunt-get-last-pinned.png)

Get the last-pinned build number and change version from a teamcity build

Pretty esoteric at the moment, so maybe it's only me that'll use it.

Provides the task `get-last-pinned-buildnumber`, which downloads the buildNumber and buildLastChangeVersion of the last pinned build from the teamcity api and populates the grunt.option('buildNumber') and grunt.option('buildLastChangeVersion') properties.

```
grunt.initConfig({
'get-last-pinned-buildnumber': {
'myproject': {
options: {
url: 'http://myteamcity.server',
buildTypeId: 'mybuildTypeId'
}
}
}
});
```