0

I have 2 build configurations for my project in Team City 7. One project is called Development, the other is Hotfixes. Our version numbers look something like 2.2.140.0. The third number, 140 corresponds to the build number of the development build. We would like for the last number in the sequence to correspond to the build number of the hotfixes build. Is there a way to set the hotfixes build configuration to pull the build number from the development build config? The end goal is that every time development is built it looks like this: 2.2.<buildnumber>.0 and every time hotfixes is built it looks like this: 2.2.<devBuildNumber>.<buildnumber>.

Bonus: if we could have the dev build reset the build counter in hotfixes that would be awesome but I'm not entirely sure that is possible.

Thanks for any help guys.

4

1 回答 1

0

也许,“链式构建”功能会对您的情况有所帮助?http://confluence.jetbrains.com/display/TCD8/How+To...#HowTo...-Sharethebuildnumberforbuildsinachainbuild

于 2013-06-27T19:31:14.477 回答