Hi Sonar Team!
I have several related questions on the support for Jacoco support. For a short historical overview:
The oldest solution was the separated properties of sonar.jacoco.reportPath
, sonar.jacoco.itReportPath
. These should not be used at all. sonar.jacoco.reportPaths (notice the ‘s’) is a trivial upgrade. This property is described both in the online docs, and also for the configuration page of the Java plugin inside the server. (assuming latest available versions)
Question 1:
sonar.jacoco.reportPaths
is deprecated already. Does this mean it will not work at all in the soon-to-come Sonar 7 LTS version? Or will it still work, alongside with a visible warning on the project analysis page? Instead of that deprecated property supporting exec format, the new property for XML format is already suggested: sonar.coverage.jacoco.xmlReportPaths
some more comments on this Jacoco coverage reporting differently in Sonarcloud
Question 2:
Shouldn’t sonar.coverage.jacoco.xmlReportPaths
be represented in the Sonar server configuraiton menu?
Environment:
SonarQube 7.7
SonarJava 5.12.1
SonarJacoco 1.0.1
I expect the new XML property to be configurable ( and anyway mentioned) from the configuration screen: Adminstration -> Configuration -> Java -> JaCoCo
Only the exec property is mentioned which is somewhat confusing.
Thanks a lot and cheers,
Balázs