开发者

Auto Branching in svn using teamcity

开发者 https://www.devze.com 2023-04-08 11:44 出处:网络
I wonder whether it is possible to do auto branching using Teamcity. As currently I am automatically publishing web开发者_StackOverflow中文版 applications using web deploy and the only thing left is b

I wonder whether it is possible to do auto branching using Teamcity. As currently I am automatically publishing web开发者_StackOverflow中文版 applications using web deploy and the only thing left is branching as we usually take a branch in svn and then publish the next version. Can any one please advise if it is possible and how to do it.


Open TeamCity Version Control Settings for your release build.

Set "VCS labeling mode" to "Successful only" and specify an appropriate labeling pattern. E.g. release-build-%system.build.number%. At the top of this page, enter the checkout rule +:/trunk => . then click edit to open the VCS root settings page.

Ensure URL points to the root level of the source control tree E.g. https://vcserver/ instead of the trunk https://vcserver/trunk. Also on this page, set the labeling rule to trunk=>branches

Each time you run this build, it will be branched automatically using a new system build number.

0

精彩评论

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

关注公众号