我正在尝试使我的团队城市构建配置触发对我的 Mercurial 存储库的任何分支中的任何新标签的构建。 我添加了一个构建触发,如下所示:
+:/.hgtags
-:.
我的问题是 team-city 仅检测当前提示分支的 .hgtags 中的更改。 如果有人将新标签推送到另一个分支,team-city 似乎不会检测到 .hgtags 中的此更改(因为它不是当前标签中的更改),并且不会触发新构建。
如何克服这个问题? 谢谢
最佳答案
Starting with TeamCity 7.1 you can configure the branches you want to monitor in a build configurations right in the VCS root:
Branch Specification In this area list all the branches you want to be monitored for changes. The syntax is similar to checkout rules: +|-:branch_name ... (with optional * placeholder). Note that only one asterisk is allowed, and each rule has to start with a new line.
关于mercurial - Teamcity 忽略了 Mercurial 不同分支的变化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13341271/