TFS 构建配置:获取特定构建的所有工作项详细信息 [英] TFS Build Configuration: get all the Work Items Details for a particular build

查看:25
本文介绍了TFS 构建配置:获取特定构建的所有工作项详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用现有的 TFS 构建定义触发了构建.但是在成功构建后,我无法获取已完成构建的源代码中可用的工作项列表.

I have triggered a build using the existing TFS build definition. But after successful build I am unable to get list of Work Items which are available in the source code against which build has been done.

假设我要构建我的当前分支,它包含 100 个工作项的代码签入.现在我的要求是更改已完成多少工作项的代码,即我需要构建定义日志文件中所有这 100 个工作项的详细信息?

Let say I am going to build my current branch and it contains code check-in for 100 Work Items. Now my requirement is that code changes for how many Work Items have been done i.e. I need details of all those 100 Work Items in the build definition log files?

请建议需要进行哪些更改才能在成功的 TFS 构建的日志文件中获取所有工作项详细信息.

我使用的是 TFS 2013.

I am using TFS 2013.

推荐答案

当您签入挂起的更改时,您需要在相关工作项部分添加工作项.对于您的场景,您可以保存对 100 个工作项的查询,选择所有 100 个工作项并将它们拖到相关工作项"部分,然后签入更改.这样,您将在构建摘要的关联工作项部分中获得所有相关工作项:

When you check in pending changes, you need to add the work items in Related Work Items section. For your scenario, you can save a query for the 100 work items, select all 100 work items and drag them to the Related Work Items section, and then check in with the changes. In this way, you'll get all related work items in Associated Work Items section in your build summary :

更新截图:

这篇关于TFS 构建配置:获取特定构建的所有工作项详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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