Gated check-in always associates work items with build

六月ゝ 毕业季﹏ 提交于 2019-12-14 01:03:29

问题


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?


回答1:


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".



来源:https://stackoverflow.com/questions/8973786/gated-check-in-always-associates-work-items-with-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!