Jeknins DSL: Disable Maven based Sonar-run to see if the Gradle-based one works fine now

We can get rid of the Maven-based build if the Gradle-based job works fine now!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889200 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2021-04-26 15:12:12 +00:00
parent 50cfe3c10e
commit e52be55f45
2 changed files with 6 additions and 2 deletions

View File

@ -212,7 +212,9 @@ subprojects {
// the plugin seems to not detect our non-standard build-layout // the plugin seems to not detect our non-standard build-layout
property "sonar.junit.reportPaths", "$projectDir/build/test-results/test" property "sonar.junit.reportPaths", "$projectDir/build/test-results/test"
property "sonar.coverage.jacoco.xmlReportPaths", "$projectDir/build/reports/jacoco/test/jacocoTestReport.xml"
// the Gradle run will report an invalid directory for 'ooxml-schema', but it seems to still work fine
property "sonar.coverage.jacoco.xmlReportPaths", "$projectDir/build/reports/jacoco/test/jacocoTestReport.xml"
} }
} }
} }

View File

@ -66,7 +66,9 @@ def poijobs = [
[ name: 'POI-DSL-no-scratchpad', trigger: triggerSundays, noScratchpad: true [ name: 'POI-DSL-no-scratchpad', trigger: triggerSundays, noScratchpad: true
], ],
[ name: 'POI-DSL-SonarQube', jdk: '1.11', trigger: 'H 7 * * *', maven: true, sonar: true, skipcigame: true, [ name: 'POI-DSL-SonarQube', jdk: '1.11', trigger: 'H 7 * * *', maven: true, sonar: true, skipcigame: true,
email: 'kiwiwings@apache.org' email: 'kiwiwings@apache.org',
// replaced by Gradle-based build now
disabled: true
], ],
// set trigger empty as it is not stable yet, we can remove the Sonar Maven run when this is fully working // set trigger empty as it is not stable yet, we can remove the Sonar Maven run when this is fully working
[ name: 'POI-DSL-SonarQube-Gradle', jdk: '1.11', trigger: '', gradle: true, sonar: true, skipcigame: true [ name: 'POI-DSL-SonarQube-Gradle', jdk: '1.11', trigger: '', gradle: true, sonar: true, skipcigame: true