[英]Missing Test Analyzer reports on Jenkins
In my project I enabled Publish JUnit test result report
in Post-build Actions
but after a build there is no Test Analyzer Report. 在我的项目中,我在
Post-build Actions
启用了“ Publish JUnit test result report
,但是在构建后没有“测试分析器”报告。
Is there is any solution for this? 有什么解决办法吗?
If your console output for the build for a project (eg, "my-project") creates a JUnit reports folder like: 如果您的用于项目构建的控制台输出(例如“ my-project”)创建了一个JUnit报告文件夹,例如:
[mkdir] Created dir: /usr/share/tomcat8/.jenkins/jobs/my-project/workspace/build/reports/junit
Then you should have your Test report XMLs
option set to build/reports/junit/*.xml
as follows: 然后,应将“
Test report XMLs
选项设置为build/reports/junit/*.xml
,如下所示:
You can also browse your Workspace after a build to locate the path of the JUnit reports: 您还可以在构建后浏览工作区以找到JUnit报告的路径:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.