This plugin allows you to publish scoverage results in Jenkins as a trend graph.
- Enable "Publish Scoverage Report" in Post-build Actions.
- Specify the location where the
scoverage.xml
report is generated (e.g.target/scala-2.10/scoverage-report
,scoverage.xml
).
step([$class: 'ScoveragePublisher', reportDir: 'target/scala-2.11/scoverage-report', reportFile: 'scoverage.xml'])