Preventing build numbers from incrementing

I have been trying to configure my build configuration so that my build number ONLY increments upon a successful build.  However, I have not been able to find this setting within my build configuration.  Currently, my build configuration continues to increment regardless of whether a build succeeded or failed.

I am currently using TeamCity v. 5.1 Build 13130 EAP.


1 comment
Comment actions Permalink


TeamCity can run more than one build of the same configuration simultaneously on different agents. All these builds must have a build number. We can't "not increment" because previous build is still running. If we will take build number from the last finished build then both running builds will have the same number, I doubt it is what you need.


Please sign in to leave a comment.