TFS 2010套的bug工作项严重性建设失败后 [英] TFS 2010 set bug work item severity after build failure

查看:211
本文介绍了TFS 2010套的bug工作项严重性建设失败后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了我所产生的bug工作项目的严重程度问题,而使用TFS 2010生成失败偶尔(后当然是不好的来源检查)。
我的老板已决定为我的项目生成失败应该排名第二最重要的严重性阶梯,而不是第一位。他希望保留项目的关键岗位的耙的钱,而不是项目,以构建我们的CMS的codeBase的。
我还是喜欢当构建失败时收到通知,但他不会让我继续的bug的严重程度在1 - 关键,这是产生错误的工作项目的默认值。
我一直在试图改变工作项的严重性,但我不能似乎能够找到我已经使用了我的项目buildtemplate的位置。 (DefaultTemplate.xaml,只是默认敏捷团队项目的过程模板)
我搜索过,如果构建失败还增加了一个工作项活动,整个模板,但无济于事。
我怀疑这是在活动之一的一些设置或它是依赖于联营公司​​的变更和工作项活动,但这些活动似乎并没有对设置的严重性设置。

I'm experiencing a problem with the severity of the bug work items generated by me builds occasionally failing while using TFS 2010 (after checking in bad sources of course). My boss has decided that a build failure for my project should rank 2nd most important in the severity ladder, not first. He want to reserve the critical status for project which rake in the money, not the projects for building the codebase of our CMS. I'd still like to be notified when a build fails, but he won't allow me to keep the severity of the bug at 1 - critical, which is the default value of the generated bug work items. I've been trying to change the work item severity, but I can't seem to be able to find the location in the buildtemplate I've been using for my project. (DefaultTemplate.xaml, just the default agile team project process template) I've searched the whole template for the activity which adds a work item if the build fails, but to no avail. I suspect it is some setting in one of the activities or that it is dependent on the associate changesets and work items activity, but that activity doesn't seem to have a setting for setting a severity.

我不是当谈到编辑这些建立模板,但这样是在这里没有人还有很熟练,所以我吧。

I'm not very skilled when it comes to editing these build templates, but so is noone else over here, so I'm it.

我找到了号称可以更改此博客,但使用的模板似乎是从一个我用不同的。
<一href=\"http://geekswithblogs.net/jakob/archive/2010/04/28/modify-build-failure-work-item-in-tfs-2010-build.aspx\" rel=\"nofollow\">http://geekswithblogs.net/jakob/archive/2010/04/28/modify-build-failure-work-item-in-tfs-2010-build.aspx

I've found a blog which claims you can change this, but the template used seems to be different from the one I use. http://geekswithblogs.net/jakob/archive/2010/04/28/modify-build-failure-work-item-in-tfs-2010-build.aspx

我试图找到在构建模板的博客文章中提到的IfCreateWorkItem活动,但我找不到它。

I've tried finding the IfCreateWorkItem activity mentioned in the blog post in the build template, but I can't find it.

另外我不确定是否将工作项活动将prevent被张贴的关键项目。我怀疑这会除了其他工作项失败的情况下添加一个新的工作项目,除非我关掉副变更集和工作项的设置,这是我不想要的。 (如果测试通过我想相关的工作项目来改变状态,通过太)

Also I'm unsure if adding the work item activity will prevent the critical item from being posted. I suspect it will add a new work item in case of failure in addition to the other work item unless I turn off the associate changesets and work items setting, which I don't want. (if tests pass I want the associated work items to change state to passed too)

与此相关的事情是谁的错误是assigned.currently这是NTAUTHORITY帐户的人。我想改变这种状况,以谁提交用于构建最后变更的人。我无法找到一个既设置

Related to this matter is the person to whom the bug is assigned.currently this is the NTAuthority account. I'd like to change that to the person who submitted the last changeset used for the build. I Can't find a setting for that either.

推荐答案

如果您找到创建工作项目模板步骤:

If you find the "Create Work Item" step of the Template:

在此右键单击并在属性窗口中,您将看到可编辑的CustomFields做属性。点击...省略号打开防爆pression编辑:

从那里,你可以调整的属性。

Right click on this and do "Properties" in the Properties window you will see a "CustomFields" that can be edited. Click the "..." elipsis to open the Expression editor: From there you can adjust the properties.

这篇关于TFS 2010套的bug工作项严重性建设失败后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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