Build numbering


I see that there are & variables located here:
/.BuildServer/config// I also see that you can change email to display the successful build number by modifying: ]]>/.BuildServer/config/email-config.xml

I am aware that you can use ${build.number} or ${} inside your project while a build is running.

But, where does one set up TeamCity to only increment build numbers for that project if the build is successful?

Currently, we only increment build numbers for successful builds. This is available in CruiseControl, which I have used in the past. Is this also available in TeamCity? Or are all build attempts always incremented so that build logs can be displayed in the UI using that number? If so, then that is a bit confusing and perhaps the UI should display build attempt # rather than build # or date/time of build attempt rather than number.


Please sign in to leave a comment.