In my post about JaCoCo I wrote about the problems of using JaCoCo Maven plugin in multimodule Maven project because of having one report for each module separately instead of one report for all modules, and how can be fixed it using JaCoCo Ant Task.
In current post we are going to see how to use Jacoco Jenkins plugin to achieve the same goal of Ant Task and have an overall code coverage statistic of all modules.
First step is installing JaCoCo Jenkins plugin.
Go to Go to Jenkins -> Manage Jenkins -> Plugin Manager -> Available and find for JaCoCo Plugin
Next step, if it is not done before, is configuring your JaCoCo Maven plugin into parent pom:
- Posted by: Alex Soto
- Posted on: August 06 2012 05:13 EDT