If you have a need to reset or modify the build counter/build number on a Jetbrains TeamCity Build configuration, there are 2 ways to do this:
In the Web User Interface, you can go into the Build Configuration Settings and select "Show advanced options"
Then, you can manually edit the Build Counter field or click on the Reset link:
Alternatively, you can manually modify the build configuration .properties files.
You can find these .properties files in the following location:
<TeamCity Data directory>\config\projects\NavRiskCiBuilds\buildNumbers
You can then go in and find your specific build configuration .properties file and modify the build number/build counter to whatever value you want.
The next time you run a build for your build configuration, it will automatically pick up the new build number!!
In the Web User Interface, you can go into the Build Configuration Settings and select "Show advanced options"
Then, you can manually edit the Build Counter field or click on the Reset link:
Alternatively, you can manually modify the build configuration .properties files.
You can find these .properties files in the following location:
<TeamCity Data directory>\config\projects\NavRiskCiBuilds\buildNumbers
You can then go in and find your specific build configuration .properties file and modify the build number/build counter to whatever value you want.
The next time you run a build for your build configuration, it will automatically pick up the new build number!!
No comments:
Post a Comment