Reputation: 159
How can I change the current build number to a value specified manually? I'm migrating my project from another build system to TeamCity, and I'd like to make the current build number the same as it was in the old system.
Upvotes: 7
Views: 6342
Reputation: 21
May be helpful create CMD step with command like this:
echo "##teamcity[buildNumber '%major%.%minor%.%build.counter%']"
Upvotes: 2
Reputation: 3249
%build.counter%
.Upvotes: 9