Sonar Cobertura Plugin not finding coverage.xml file Sonar Cobertura Plugin not finding coverage.xml file jenkins jenkins

Sonar Cobertura Plugin not finding coverage.xml file


I had the same issue (SonarQube 4.4., Cobertura 1.6.2, Jenkins + maven + java8) and I just finally figured out solution for the problem:

sonar.cobertura.reportPath=target/site/cobertura/coverage.xml

Notice the missing "/" from the beginning of the path!

It actually tried to search from absolute root directory in my Linux server.