-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Similar to JENKINS-49351, when a static checker declares the build unstable or failed, the coverage trend graph is not updated, even when jacoco runs successfully.
Jacoco should update the graph if the plugin ran, independent of the actual build result, not only for successful builds.
I have a similar situation where I want to set a build status to Failed but still have code coverage metrics I want to report on the project / build page. As long as I set the build status to Failed after I publish the jacoco results, the code coverage report will show up on the build page. I'm fine with that workaround, although I do think that the report should show up regardless of build status. One thing I can't get around, though, is if the build status is Failed, the Code Coverage Trend graph on the project page is not updated with the failed build.