简体   繁体   English

通过电子邮件在Jenkins中发布HTML测试报告?

[英]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.

相关问题 “发布 JUnit 测试结果报告”Jenkins 插件不支持由 jmeter 命令 -J 和 -l 选项生成的 JTL 文件 XML 格式 - "Publish JUnit test result report" Jenkins plugin not supporting JTL file XML format generated by jmeter command -J and -l options 如果我通过Eclipse中的ANT运行测试用例,则不会在JUNIT文件夹中生成JUnit HTML报告(index.html)。 - JUnit HTML report (index.html) is not generated in the JUNIT folder, If I run the test case through ANT in eclipse 是否可以通过电子邮件发送JUnit测试报告? - is it possible to send JUnit test report by email? Jenkins 错误:未找到测试报告文件。 配置错误? - Jenkins Error: No test report files were found. Configuration error? 如何让Jacoco Integration测试报告与Jenkins合作 - How to get Jacoco Integration test Report to work with Jenkins Maven:用于 Soap 测试用例的 Junit HTML 报告 - Maven : Junit HTML Report for Soap Test Cases 错误:步骤“发布JUnit测试结果报告”失败:找到了测试报告,但是没有一个是新的。 测试运行了吗? - ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did tests run? 在Jenkins中发布checkstyle报告 - Publishing a checkstyle report in Jenkins Jmeter与Ant集成-如何通过电子邮件从ant发送html报告 - Jmeter Integration with Ant- How to send the html report from ant from email 通过ANT执行Junit测试用例时,构建失败并且未生成报告 - BUILD FAILED and didn't generate report when executing junit test cases through ANT
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM