自定义/扩展构建报告. [英] Customizing/Extending the build report.

查看:91
本文介绍了自定义/扩展构建报告.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如果提出此问题,请原谅我,但我找不到与此相关的任何内容

因此,构建成功后,将通过指向以下链接的通知发送通知 http://tfssever:8080/Build/Build.aspx?artifactMoniker = 5094

在此报告中,我们有 任何CPU/发行版的摘要,构建步骤,结果详细信息,关联的变更集和关联的工作项

如何在构建过程中扩展此报告,并添加一个名为"ldquo; 发行说明并在其中添加一些信息.所以基本上我在找 使用自定义MSBUILD任务将新节点添加到此报告中.

任何人都可以做到这一点,任何代码示例都将不胜感激.

感谢,
巴淡岛

 

解决方案

您将需要为此编写一个事件处理程序.这是

TFS事件处理程序

Team Foundation Server SDK

http://msdn.microsoft.com/zh-CN/library/bb130146(v = VS.90).aspx

这可能会花费您很多时间,我的建议是先查看哪些选项,以下是一些有关深入了解 通过支持解决问题.

有各种支持选项,例如咨询和每个问题.请访问下面的链接以查看各种付费

支持选项,可以更好地满足您的需求.

http://support.microsoft.com/default.aspx? id = fh; zh-cn; offproprophone


Hi All,

Forgive me if this question was asked, but I could not find anything related to this.

So when a build is succeeded, notification is send out with a link to http://tfssever:8080/Build/Build.aspx?artifactMoniker=5094

In this report we have Sections Summary, Build Steps, Result details for Any CPU/Release, Associated Changesets and Associated work items

How can I extend this report during the build and include a new node called “RELEASE NOTES” and add some information there. So Basically I am looking to add a new node to this report with a custom MSBUILD task.

Anyone has done this, any code example will be appreciated.

Thanks,
Batham

 

 

解决方案

Hi,

You will need to write an Event handler for this. Here are  a couple links below of sample code that they can you to start off, but if you are using 2010 it’s going to require some modification and depending on what you are trying to add. If it's TFS data you would need to use the TFS Object model to exact the data.

 

TFS Event Handler

http://tfseventhandler.codeplex.com/

 

Team Foundation Server SDK

http://msdn.microsoft.com/en-us/library/bb130146(v=VS.90).aspx

 

It may take you a lot of time to go through this, my suggestion is to see about what options to check out first, here is some info for more in depth level into the problems through support.

 

There are various support options such as advisory and per issue. Please visit the below link to see the various paid

 

support options that are available to better meet your needs.

 

http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone


这篇关于自定义/扩展构建报告.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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