简体   繁体   中英

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.

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:

[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:

Jenkins-发布JUnit测试结果报告

You can also browse your Workspace after a build to locate the path of the JUnit reports:

Jenkins工作区-JUnit报告

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM