Go to https://sonarcloud.io/documentation/analysis/coverage/
In the Test Coverage block, look at the Java entries
Java / Kotlin / Scala / JVM | sonar.coverage.jacoco.xmlReportPaths | Comma-delimited list of paths to JaCoCo XML coverage reports. Path wildcards are supported (see above). |
---|---|---|
Java | sonar.jacoco.reportPaths | Deprecated. Use sonar.coverage.jacoco.xmlReportsPath. Path to JaCoCo reports in binary format. Supported only for Java. |
In one table cell, the property name is
sonar.coverage.jacoco.xmlReportPaths (the word Paths is plural)
and in another cell it is
sonar.coverage.jacoco.xmlReportsPath (the word Reports is plural)
Expect:
consistent use of correct property name