How can I prevent TFS associating work items with a build?

瘦欲@ 提交于 2019-12-03 08:38:54

We have a similar set up, with 'private' builds being fired when developers check in in the DEV branch, and 'integration' builds that are actually the ones that are relevant to the test team.

Both 'private' and 'integration' builds derive from the same build process template, but are different build definitions.

We have constructed in the build solution a custom activity "Types.cs" (basically a simple enum):

namespace BuildTasks.Activities
{
    public enum QATypes
    {
        Private,
        Integration,
        Release
    }

}

This is passed as possible values of an build argument we have added named 'BuildType':

.

This appears now as a configurable build definition parameter:

We obviously enter 'Private' or 'Integration' in each definition accordingly.

In the final steps of our process, we check on the value of this param & depending on it we send (or not) an email to a QA alias.

It might be possible to organize a similar implementation to meet your needs.

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