Skip to content

Commit

Permalink
Write out JaCoCo coverage report to build folder (#993)
Browse files Browse the repository at this point in the history
According to the SonarQube docs this will then get picked up by
the sonar gradle plugin, providing coverage information within
SonarQube Cloud
  • Loading branch information
adrianclay authored Nov 14, 2024
1 parent d2caff5 commit 117e72a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ test {
}

jacocoTestReport {
reports {
xml.required = true
}
dependsOn test // tests are required to run before generating the report
}

Expand Down

0 comments on commit 117e72a

Please sign in to comment.