获得最新测试结果通过Hudson通知的电子邮件中的信息 [英] Having Latest Tests Results info in the notified email with Hudson

查看:143
本文介绍了获得最新测试结果通过Hudson通知的电子邮件中的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个很多测试失败的项目,所以通过电子邮件接收最新版本的失败测试数量将是非常好的。
我需要的只是通过测试结果链接显示在项目页面中的信息:



最新测试结果(10个故障/ -2) p>

这是可能吗?我已经尝试过电子邮件扩展插件,但是并没有告诉我那些信息(我可以使用输出失败的测试列表等),但是我真的只需要上面的信息。)



任何想法?

解决方案

最后我使用了一个补丁的电子邮件扩展插件,这允许您为您的电子邮件提供groovy模板。我认为这应该被整合到主要的插件btw中。



这是我看到的页面:



a href =http://techkriti.wordpress.com/2008/08/30/using-groovy-with-hudson-to-send-rich-text-email/ =noreferrer> http:// techkriti .wordpress.com / 2008/08/30 / using-groovy-with-hudson-to-send-rich-text-email /



希望它将对其他人有用



roberto


I have a project with a lot of tests failing, so it would be great for me to receive by email the number of failed tests compare from the latest build. What i need is just the info that appears in the project's page by the test results link:

Latest Test Result (10 failures / -2)

Is this possible? I've already tried the email-ext plugin, but it is not telling me that info (I can have the list of failing tests with output etc., but I really just need that info above).

Any ideas?

解决方案

In the end I used a patch for the email-ext plugin, that allows you to have a groovy template for your email. I think this should be integrated in the main plugin btw.

This is the page I read:

http://techkriti.wordpress.com/2008/08/30/using-groovy-with-hudson-to-send-rich-text-email/

hopefully it'll be useful for somebody else

roberto

这篇关于获得最新测试结果通过Hudson通知的电子邮件中的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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