[英]Publish HTML Test Report through email in Jenkins?
I am using Jenkins and Ant. 我正在使用詹金斯和蚂蚁。 I am running Selenium and JUnit tests in Jenkins. 我正在Jenkins中运行Selenium和JUnit测试。 I am able to generate HTML reports and emails to developers. 我能够生成HTML报告和给开发人员的电子邮件。 I would like to publish the Jenkins unit test graph and HTML results in the email. 我想在电子邮件中发布Jenkins单元测试图和HTML结果。 So the graph should be included in the actual email, not just as a link. 因此,该图应包含在实际的电子邮件中,而不仅仅是链接。
I have tried Jelly HTML script in publishing the test results in the email. 我已经在将测试结果发布到电子邮件中尝试了Jelly HTML脚本。 It is quite basic and does not really provide enough information. 它是非常基本的,不能真正提供足够的信息。
Any ideas on how to nicely report unit test graph and pass/failures in email? 关于如何在电子邮件中很好地报告单元测试图和通过/失败的任何想法?
You can sum up some key points from Jenkins report in plain text (like passed : 25, failed : 3, etc). 您可以用纯文本方式总结詹金斯报告中的一些关键点(例如:通过:25,失败:3等)。 Could be a workaround until you'll find a true solution.. 在找到真正的解决方案之前,可能是一种解决方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.