The Build number property in TeamCity is unique f开发者_JAVA百科or each build configuration.
I'd like to have a single counter that will be used across all different build configurations (to count how many times in total i've built the product).
- Does this make sense? (it does to me).
- How can this be done, if the property is stored per configuration?
Makes perfect sense.
I think the Autoincrementer plugin is what you're looking for.
It lets you have a single builder counter across any number of build configurations. We use it so nightly build numbers are shared with checkin-builds.
精彩评论