Commit c90dd56f authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Fix SonarQube coverage reports.

parent e1ed681a
Pipeline #10432 passed with stage
in 8 minutes and 7 seconds
......@@ -18,4 +18,4 @@ build:
- $GRADLE test jacocoTestCoverageVerification
- if [ $NEXUS_USER_NAME ]; then $GRADLE publish; fi
- if [ !$NEXUS_USER_NAME ]; then $GRADLE publishToMavenLocal; fi
- '$GRADLE sonarqube -Dsonar.host.url=$SONAR'
- '$GRADLE jacocoTestReport sonarqube -Dsonar.host.url=$SONAR'
......@@ -210,6 +210,7 @@ subprojects {
configure(subprojects.findAll { it.provides }) {
// Code coverage configuration.
jacocoTestReport {
reports { xml.enabled true }
classDirectories.setFrom(sourceSets.main.output.classesDirs)
}
jacocoTestCoverageVerification {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment