如何为忽略标签操作的TeamCity设置Mercurial VCS构建触发器 [英] How to set a Mercurial VCS build trigger for TeamCity that ignores label operations

查看:115
本文介绍了如何为忽略标签操作的TeamCity设置Mercurial VCS构建触发器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用Mercurial作为VCS为TeamCity设置一个构建触发器。现在触发器如下所示:

I am trying to setup a build trigger for TeamCity using Mercurial as the VCS. Right now the trigger looks like:

+:/**

当提交更改集时触发此触发器。但是,我有TeamCity安装程序标记VCS中的每个构建。

This trigger get fired when changesets are committed. However, I have TeamCity setup to tag each build in the VCS. The tagging process is firing the above build trigger so the build gets caught in a loop.

任何人都可以建议一个VCS构建触发器,它会过滤掉标记过程?

Can anyone suggest a VCS build trigger that will filter out the tagging process?

推荐答案

添加触发器模式:

-:/.hgtags

从构建触发器过滤掉.hgtags文件。这是当源由TeamCity标记时被修改的文件。当此文件被排除时,标记操作不会触发构建触发器。

filters out the .hgtags file from the build trigger. This is the file that gets modified when the source is tagged by TeamCity. When this file is excluded tagging operations will not fire the build trigger.

这篇关于如何为忽略标签操作的TeamCity设置Mercurial VCS构建触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆