SonarQube Version - 8.4.2 Developer Edition
JaCoCo plugin- 3.0.8
We have JAVA code and built using ANT(1.9.2) in Jenkins.
After we have upgraded sonarqube from 7.9 to 8.4.1 we are getting Code Coverage as 0%.
We have Used jacoco plugin, attached the pom.xml - sonar build file
We were able to generate the report file too but I do not see the coverage in Sonar UI.
Any help would be highly appreciated.
pom.xml.txt (3.4 KB)
Hi Raj, welcome to the SonarSource Community!
In the course of your upgrade, you also picked up an updated Java language analyzer and JaCoCo report importer in which support for the old JaCoCo binary exec format was removed after a period of deprecation. You’ll need to generate an XML format report now for your coverage to be imported; see our guide on this topic.
if using scala what are changes needed along with path change sonar.coverage.jacoco.xmlReportPaths. changed to this path still getting 0% coverage