最新测试结果信息在与Hudson通知的电子邮件中 [英] Having Latest Tests Results info in the notified email with Hudson
问题描述
我有一个有很多测试失败的项目,所以对于我来说,通过电子邮件接收失败的测试次数比较从最新的版本。
我需要的只是测试结果链接出现在项目页面中的信息:
最新测试结果(10次失败/ -2) p>
这可能吗?我已经尝试过电子邮件插件,但它不告诉我的信息(我可以有失败的测试与输出等的列表,但我真的只需要上面的信息)。
任何想法?
最后我为email-ext插件使用了一个补丁,它允许你有一个groovy模板为您的电子邮件。我认为这应该集成在主插件btw。
这是我读的页面:
a href =http://techkriti.wordpress.com/2008/08/30/using-groovy-with-hudson-to-send-rich-text-email/ =nofollow 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屋!