grunt-get-last-pinned
v0.2.2
Published
Get the last pinned build number from a teamcity build and saves it to a file
Downloads
4
Keywords
Readme
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'
}
}
}
});