门控签入始终将工作项与构建相关联
我正在使用带有门控签入的 TFS2010,即使我已将“关联更改集和工作项”设置为 false,变更集和工作项仍与此构建相关联。
这种情况仅发生在门控构建上。如果我使用其他签入触发器(手动、连续、计划)运行构建,则变更集和工作项不会与构建关联,除非“关联变更集和工作项”设置为 true。
有什么想法为什么会发生这种情况吗?我正在使用具有默认工作流定义的 Visual Studio Scrum 流程模板。也许工作流程定义有问题?
I am using TFS2010 with gated check-ins, and even though I have set "Associate Chagesets and Work Items" to false, changesets and work items are associated with this build.
This happens only on gated builds. If I run build with other check-in triggers (manual, continuous, schedule), changesets and work items are not associated with the build unless "Associate Changesets and Work Items" is set to true.
Any ideas why this is happening? I'm using Visual Studio Scrum process template with default workflow definitions. Maybe there is problem in workflow definition?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,门控签入构建与签入变更集和相关工作项相关联。此布尔参数决定非门控签入构建是否应具有关联的变更集和工作项。
如果您查看默认模板,您将看到当此参数设置为 true 且构建原因不是 Gated-CheckIn 时,将调用 AssociateChangesetsAndWorkItems 活动。显示名称表示:“关联非搁置集构建的变更集和工作项”。
我认为这个参数的描述具有误导性。它说:“将其设置为 true 将变更集和工作项关联到构建”。它应该说“到非门控签入构建”。
Gated-CheckIn builds are associated with the check-in changeset and the related work items by default. This Boolean parameter decides whether a non-Gated-CheckIn build should have the changesets and work items associated.
If you look at the default template, you'll see the AssociateChangesetsAndWorkItems activity is invoked when this parameter set to true the the build reason is not Gated-CheckIn. The display name says it: "Associate Changesets and Work Items for non-Shelveset Builds".
I think the description of this parameter is misleading. It says: "Set this to true to associate changesets and work items to the build". It should say "to the non-gated-checkin build".