在 Hudson 通知的电子邮件中提供最新测试结果信息
我有一个项目,有很多测试失败,所以如果我能通过电子邮件收到最新版本的失败测试数量比较,那就太好了。 我需要的只是测试结果链接显示在项目页面中的信息:
最新测试结果(10 次失败/-2)
这可能吗?我已经尝试过 email-ext 插件,但它并没有告诉我该信息(我可以得到带有输出等的失败测试列表,但我真的只需要上面的信息)。
有什么想法吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最后,我使用了 email-ext 插件的补丁,它允许您为电子邮件提供一个常规模板。我认为这应该集成在主插件中。
这是我读到的页面:
http://techkriti.wordpress.com/2008/08/30/using-groovy-with-hudson-to-send-rich-text-email/
希望对其他人有用
罗伯托
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
为什么不自己编译结果呢?当您试图快速修复错误时,同时编写另一个程序似乎违反直觉。
Why not compile the results yourself? When your trying to fix bugs quickly, writing another program at the same time seems counter intuitive.