Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to display Jacoco Coverage report on Jenkins dashboard?

I have jenkins file which has publishHTML method to generate report with .html file of jacoco result. Is it possible to display that report on dashboard like 'Test Trend Result' ?

like image 990
dicle Avatar asked Sep 20 '25 10:09

dicle


1 Answers

So I went through a bit then found a solution adding to the pipeline directly

publishCoverage adapters: [jacocoAdapter('target/site/jacoco/jacoco.xml')]

Reference: https://github.com/jenkinsci/code-coverage-api-plugin

like image 149
dicle Avatar answered Sep 23 '25 11:09

dicle