Hey there. I’m completely new to this topic. my sonar always showing a message
No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths=‘build/reports/jacoco/jacocoTestDebugUnitTestReport/jacocoTestDebugUnitTestReport’. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
At the same time, your properties screenshot does show the ‘.xml’ at the end, in addition to “mssbase” at the beginning. It’s not clear to me whether mssbase is your project root (and so relative report paths should not include it) or a directory in your project. Given your sonar.binaries value, I guess it’s a subdirectory?
(As a side note, sonar.language had been deprecated for years, and is now no longer recognized.)
Thank you for responding.
Yes, it’s a subdirectory. my project is actually a multi module. so I include the “mssbase” path. as for “.xml” extension, i did include it. but the error message said the same. I just use an old screenshot.
No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths=‘build/reports/jacoco/jacocoTestDebugUnitTestReport/jacocoTestDebugUnitTestReport.xml