开发者

TeamCity global version per PROJECT (not configuration)

开发者 https://www.devze.com 2023-04-04 16:16 出处:网络
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 h

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).

  1. Does this make sense? (it does to me).
  2. How can this be done, if the property is stored per configuration?


  1. Makes perfect sense.

  2. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号