I am using SonarQube with scanner, jenkins, maven, gradle and wants to 
display code coverage report in SonarQube. 

I am getting error "Jacoco report not found"

[INFO] Sensor JaCoCoSensor [java]
[INFO] JaCoCo report not found: 'E:\pradeep 
doc\sonarQube\javaproject\cucumberba
sic\target\jacoco.exec'
[INFO] JaCoCo UT report not found: 'E:\pradeep 
doc\sonarQube\javaproject\cucumbe
rbasic\target/jacoco-ut.exec'
[INFO] JaCoCo IT report not found: 'E:\pradeep 
doc\sonarQube\javaproject\cucumbe
rbasic\target/jacoco-it.exec'

// pom.xml
<!-- Sonar-JaCoCo properties -->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.jacoco.reportPaths>E:\pradeep 
doc\sonarQube\javaproject\cucumberbasic\target\jacoco.exec</sonar.jacoco.reportPaths>
<sonar.language>java</sonar.language>
</properties>

I mentioned below details in sonar-project.properties
sonar.java.binaries=.
sonar.sourceEncoding=UTF-8
sonar.language=java
sonar.verbose=true
sonar.dynamicAnalysis=reuseReports
sonar.junit.reportsPath=target/surefire-reports
sonar.java.coveragePlugin=jacoco
sonar.jacoco.reportPath=target/jacoco.exec

Please do let me know how to resolve this issue and report. 

Regards,
Pradeep

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/02d1c8d7-64f4-4354-beb2-46f3c084f3d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to