Skip to content

Commit eb6cac2

Browse files
committed
Write out JaCoCo coverage report to build folder
According to the SonarQube docs this will then get picked up by the sonar gradle plugin, providing coverage information within SonarQube Cloud
1 parent d2caff5 commit eb6cac2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

service/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ test {
8282
}
8383

8484
jacocoTestReport {
85+
reports {
86+
xml.required = true
87+
}
8588
dependsOn test // tests are required to run before generating the report
8689
}
8790

0 commit comments

Comments
 (0)