I have a build project that I run from TeamCity, now it takes the build.number from TeamCity. I want to be able to use the buildnumber task (Ant) which in my understanding when used, is supposed to change the value of build number property and increment it for next time. But it seems that I still get the build number from TeamCity.
How can I use the build number from <buildnumber file="mybuild.number"/>
?
Use the TeamCity Autoincrementer plugin to share an incrementing build number between configurations.