But if I try to use wildcard like below, it is not working and showing code coverage as ‘0’.
sonar.coverage.jacoco.xmlReportPaths=**/jacoco.xml If I give absolute path to the jacoco.xml file then only it is working and showing code coverage. Isn’t it supposed to work with wildcards as the documentation says?
Version 7.9.4
Below is the log when I try to give basedir**. In our case site/jacoco could be present either on basedir-web/target or basedir/target
WARN: Report doesn’t exist: ‘/jenkins/jenkins.p/workspace/op-springboot-oci-Release-jacoco/source/devsecop-springboot-oci**/target/site/jacoco/jacoco.xml’