Cannot View JaCoCo Reports in Blue Ocean's Test

Hi everyone,

I’ve been able to view JaCoCo reports in the Jenkins Classic UI but I’m having difficulty with viewing the results in Blue Ocean’s Test tab. Could someone point me in the right direction please?

I’ve followed this doc and used the junit step to point to build/reports/jacoco/test/jacocoTestReport.xml, but the step output always says:

Recording test results

None of the test reports contained any result

and Blue Ocean shows this:
image

I’ve never see coverage reporting from JaCoCo in the Blue Ocean user interface. Are you sure that it is supported there?

Coverage reporting is provided by the warnings next generation plugin and the code coverage API plugin. Here’s an example from ci.jenkins.io.

Maybe you mean test result reporting in the Blue Ocean interface? If so, then you want JUnit results rather than JaCoCo results. Here’s an example from ci.jenkins.io.

1 Like