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
- Host: GitHub
- URL: https://github.com/opentable/grunt-get-last-pinned
- Owner: opentable
- License: mit
- Created: 2014-01-27T09:37:21.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-02T14:36:26.000Z (about 12 years ago)
- Last Synced: 2025-03-06T01:48:19.992Z (over 1 year ago)
- Topics: possible-delete
- Language: JavaScript
- Size: 324 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grunt-get-last-pinned [](https://travis-ci.org/opentable/grunt-get-last-pinned) [](http://badge.fury.io/js/grunt-get-last-pinned) 
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'
}
}
}
});
```