TeamCity global version per PROJECT (not configuration)

橙三吉。 提交于 2019-12-07 15:57:32

问题


The Build number property in TeamCity is unique for 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:


  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.



来源:https://stackoverflow.com/questions/7417920/teamcity-global-version-per-project-not-configuration

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!