如何防止门控签到将关键字 ***NO_CI*** 放在评论中 [英] how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment
问题描述
这个问题与我的问题有关结合Gated Checkin"和Continuous Integration"构建Team Foundation Server 我今天早上发布的
This Question is related to my Question Combining "Gated Checkin" and "Continuous Integration" Builds in Team Foundation Server I Posted this Morning
感谢@pantelif,我知道在 Gated Checkin Build
构建之后,持续集成构建被阻止作为(在大多数情况下)预期行为被触发.Team Foundation Server 将关键字 ***NO_CI***
添加到签入注释中以执行此操作.
Thanks to @pantelif I know that after a Gated Checkin Build
build Continuous Integration Builds are prevented to be triggered as an (in mostly cases) expected behavior.
The Team Foundation Server adds to the Check-In Comment the Keyword ***NO_CI***
to do that.
在这里 据说有人不小心关闭了添加这个魔法阶段.
In the Question you find here there is described that someone accidentally turned off adding this Magic Phase.
我想要的是触发持续集成构建作为预期行为.所以我想避免将关键字放入我的评论中.
What I want is triggering Continuous Integration Builds as an expected behavior. So I want to avoid that the Keyword to be put into my Comment.
我不知道怎么做.在回答了上述最初的问题后,我在网上搜索了一段时间,但没有找到真正的线索.
What I do not know, is how to do it. I searched the Web for a while after my initial Question mentioned above was answered but found no real clue.
推荐答案
您可以通过设置 NoCIOption SyncWorkspace 工作流活动的属性为 false.这里.
You can disable ***NO_CI***
comment by setting the NoCIOption property of the SyncWorkspace workflow activity to false. A similar question and answer can be found here.
您可以关注此博客 post 为您的构建定义实现一个参数,或者您可以直接在您的 Gated CheckIn 构建模板中将此属性设置为false".
You can either follow this blog post to implement a parameter for your build definition, or you can directly set this property to 'false' in your Gated CheckIn build template.
这篇关于如何防止门控签到将关键字 ***NO_CI*** 放在评论中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!