-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Jenkins: JUnit Plugin: publish results doesn't show trend report until successful build
Occured on Jenkins ver. 1.642.3 using JUnit Plugin 1.19
I’ve added a post build step “Publish jUnit test result report” (see screenshot) and run 30 builds. The builds all contain test results, but no test result trend appears in the project page (see screenshot).
All my builds fail because the tests fail. I saw an old issue about failing builds not showing in trend https://issues.jenkins-ci.org/browse/JENKINS-1230, and tried forcing the tests to report success. As soon as I did, the trend report showed up. Some test tools, like pytest, report failure if any tests fail, so it would be preferred if the trend report showed up even for failures.