Jenkins JaCoCo Plugin released

Jenkins JaCoCo Plugin released

When it comes to Code Coverage and Java, you can’t ignore JaCoCo. JaCoCo was created by Marc Hoffmann based on the lessons learned using the popular Emma coverage tool. There are plenty of projects using JaCoCo but there was one missing piece – integrating the coverage report into the automated build. Since there was no JaCoCo Plugin for Jenkins/Hudson the only way developers could see the report was to use Sonar or to generate an HTML report. Neither solution was well integrated into the build.

A few weeks ago I noticed that there was ongoing work to create a Jenkins-JaCoCo integration during this year’s Google Summer of Code. The good news is that the student, Ognjen Bubalo, released the plugin on June 14th (was I the only one who missed it?) ;). In the meantime two additional releases were completed.

The configuration is similar to the one from the Emma Plugin, as Ognjen used it as the basis for the JaCoCo Plugin. When everything is done right the reports can look like this:

Like other Jenkins plugins, the JaCoCo Plugin has it’s page on the Jenkins wiki. Besides Jenkins I also installed the plugin into a Hudson 2.x installation and it worked like a charm. When you don’t want to change the update center URL you can also download the jacoco.hpi (it’s tricky to find) and upload it directly to Hudson. Thanks to all people involved in creating this plugin. You did a great job!

<a href=""><img title="Follow @hstaudacher" src="" alt="" width="191" height="58" border="0" /></a>

  • Moritz Post
    Posted at 11:07 am, July 30, 2012

    Really like the plugin. Good Job from Ognjen Bubalo.

  • Ognjen Bubalo
    Posted at 10:23 pm, August 1, 2012


    I just want to add a comment.

    There are other developers who are helping on the plugin’s mailing list (check it on the wiki page) with very useful advices and of course the previous commiters who created the base of the plugin (the Jenkins plugin for JaCoCo is a fork of the Emma’s Jenkins plugin).

    We cannot miss Jonathan Fuerth who is my menthor in this year’s GSoC. He was the one who forked the Jenkins plugin of the Emma tool and without his help we wouldn’t have the release now.


  • Dzmitry Kashlach
    Posted at 9:31 am, October 23, 2012

    Do you know any Jenkins plugins, that integrates performance testing into build process? Something like