Skip to end of metadata
Go to start of metadata

By SonarSource – GNU LGPL 3 – Issue TrackerSources – Supported by SonarSource
More versions
JaCoCo 1.0.2 – Jun 28, 2019 – SonarQube 6.7+ (Compatible with LTS)
Minor improvements
DownloadRelease notes

Description

This plugin (provided by default with SonarQube 7.4+) allows you to load the JaCoCo data from its XML format for all the languages for which you can generate a JaCoCo report.

It means you can load the JaCoCo data related to Java, Kotlin but also for Groovy and probably for Scala, Clojure, ...

Usage

  1. Prior to the SonarQube/SonarCloud analysis, execute your unit tests and generate the JaCoCo coverage report in its XML format.

  2. Import reports while running the SonarQube/SonarCloud analysis by providing the paths of the jacoco.xml files through the following properties. The paths may be absolute or relative to the project base directory.

    PropertyScopeDescription
    sonar.coverage.jacoco.xmlReportPaths
    Project-wideComma-separated list of paths to JaCoCo (jacoco.xml) report files.


  • No labels