简体   繁体   English

TeamCity仅签出具有最新更改的分支

[英]TeamCity checkout only the branch with the latest changes

it's possible to define a VCS Checkout rule like +:PathToSvn/branches => . 可以定义VCS Checkout规则,例如+:PathToSvn/branches => . and check out only the branch with the latest changes? 并仅签出具有最新更改的分支?
So you don't know the name of the branch beforehand. 因此,您事先不知道分支的名称。 Thanks 谢谢

You can use configuration parameter in Checkout rules, eg +:PathToSvn/%branches% => .. . 您可以在Checkout规则中使用配置参数,例如+:PathToSvn/%branches% => .. %branch% parameter should be defined when the build started. 开始构建时应定义%branch%参数。 For more details see the section in TeamCity doc. 有关更多详细信息,请参见TeamCity文档中的部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM