mercurial - Teamcity 忽略了 Mercurial 不同分支的变化

标签 mercurial teamcity

我正在尝试使我的团队城市构建配置触发对我的 Mercurial 存储库的任何分支中的任何新标签的构建。 我添加了一个构建触发,如下所示:

+:/.hgtags
-:.

我的问题是 team-city 仅检测当前提示分支的 .hgtags 中的更改。 如果有人将新标签推送到另一个分支,team-city 似乎不会检测到 .hgtags 中的此更改(因为它不是当前标签中的更改),并且不会触发新构建。

如何克服这个问题? 谢谢

最佳答案

来自TeamCity Mercurial页面

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/

相关文章:

msbuild - 如何使用 Rake 运行程序让 TeamCity 识别 msbuild 编译错误

ssh - 两个 Mercurial repo 协议(protocol)。在远程机器上——一个可以通过 ssh 克隆;另一个,不是

mercurial - 通过TortoiseHg进行Mercurial- merge 命名分支,然后将其关闭

ruby - 从 Git checkout 并部署到 Heroku

git - TeamCity 构建标签在 git 存储库上间歇性失败

performance - 在TeamCity中进行多次并行构建后触发一次后续构建

Svn 到 Mercurial : Fewer revision numbers and missing tags

windows - 像 VisualSVN Server for Mercurial 这样的东西吗?

git - 在 mercurial 子存​​储库中使用特定 (git) 分支

continuous-integration - 如何将构建复制到测试服务器?