TeamCity build number versus Ant build number task

Posted by jonny on Stack Overflow See other posts from Stack Overflow or by jonny
Published on 2011-02-27T14:50:02Z Indexed on 2011/02/28 7:24 UTC
Read the original article Hit count: 290

Filed under:
|
|

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"/>?

© Stack Overflow or respective owner

Related posts about ant

Related posts about teamcity