In pom.xml now is
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
Ok, now in my local host success generate jacoco’s report in xml format. Nice.
But what about SonarQube? What about this settings in jenkins’s job:
sonar.jacoco.reportPath=**/target/jacoco-ut.exec
The question is: Is I need to change it to smt like this:
sonar.jacoco.reportPath=**/target/site/jacoco/jacoco.xml
or like this:
sonar.coverage.jacoco.xmlReportPaths=**/target/site/jacoco/jacoco.xml
?