Skip to content

Commit

Permalink
ci: tell sonar where the jacoco root report is (#2796)
Browse files Browse the repository at this point in the history
The aggregated jacocoRootReport is not in one of the standard locations
searched by sonar, add a property with the report file path so sonar can
reflect the coverage
  • Loading branch information
gtoison committed Jan 6, 2024
1 parent 3da060e commit 43e5485
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gradle/sonar.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sonar {
property 'sonar.organization', 'spotbugs'
property 'sonar.projectKey', 'com.github.spotbugs.spotbugs'
property 'sonar.projectName', 'SpotBugs'
property 'sonar.coverage.jacoco.xmlReportPaths', "${buildDir}/reports/jacoco/jacocoRootReport/jacocoRootReport.xml"
}
}

Expand Down

0 comments on commit 43e5485

Please sign in to comment.