Setting TeamCity Build number from NAnt script
Is it possible to set the build number (eg, 4.0.7.005) from an Nant script?
In particular, i would like to take the build number that Team City has, format that in an NAnt script and pass it back to TeamCity for the rest of the build.
Please sign in to leave a comment.
Perhaps using the team city service messages feature?
Yes, it is possible with service messages, please take a look here: http://www.jetbrains.net/confluence/display/TCD4/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingBuildNumber