Hi,
I upgraded from SonarQube 5.6 to 6.1 yesterday.
Now, junit test reports and UT JaCoCo reports are not found.
Here is my sonar configuration (no changes with the previous one):
sonar.jacoco.itReportPath=target/coverage-reports/jacoco-it.exec
sonar.jacoco.reportPath=target/coverage-reports/jacoco-ut.exec
sonar.junit.reportsPath=target/surefire-reports
when launching a maven job in jenkins performing "verify sonar:sonar" targets, the result is the following :
Sensor SurefireSensor
[INFO] parsing C:\target\surefire-reports
[ERROR] Reports path not found or is not a directory: C:\target\surefire-reports
[INFO] Sensor SurefireSensor (done) | time=1ms
[INFO] Sensor JaCoCoSensor
[INFO] JaCoCoSensor: JaCoCo report not found : C:\target\coverage-reports\jacoco-ut.exec
[INFO] Sensor JaCoCoSensor (done) | time=0ms
[INFO] Sensor JaCoCoItSensor
[INFO] JaCoCoItSensor: JaCoCo IT report not found: C:\jenkinsslave\workspace\2010_PS_CORE_METIER_TU_01\target\coverage-reports\jacoco-it.exec
JaCoCo IT Report doesn't exist so it's normal
C:\jenkinsslave\workspace\2010_PS_CORE_METIER_TU_01\target\coverage-reports\jacoco-ut.exec and C:\jenkinsslave\workspace\2010_PS_CORE_METIER_TU_01\target\surefire-reports are present
I don't understand why absolute path is used instead of relative path when searching for surefire-reports and JoCoCo UT report
An idea ?