jenkinsci/github-pr-coverage-status-plugin

Build coverage value in jenkins not matching with the coverage value in sonarqube

Opened this issue · 0 comments

We did a gitHub+Jenkins+Sonar integration. After the execution of Jenkins job, Code Coverage in sonarqube is updated with 26.6%(jacoco-ut.exec). But in Build coverage, it is updated as 20.54%. From where the Jenkins getting the build coverage value if it is from jacoco.xml, why there is a discrepancy and how to resolve this?Please advise.