Jenkins DSL: Use JDK 11 for SonarQube Gradle build and try to make properties work

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882848 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2020-10-25 19:29:46 +00:00
parent 8374537d5a
commit 75ccbe125e

View File

@ -67,8 +67,8 @@ def poijobs = [
[ name: 'POI-DSL-SonarQube', trigger: 'H 7 * * *', maven: true, sonar: true, skipcigame: true,
email: 'kiwiwings@apache.org'
],
// set trigger empty as it is not stable yet, we can replace the Sonar Maven run when this is fully working
[ name: 'POI-DSL-SonarQube-Gradle', trigger: '', gradle: true, sonar: true, skipcigame: true
// 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-Windows-1.8', trigger: 'H */12 * * *', windows: true, slaves: 'Windows'
],
@ -396,9 +396,9 @@ poijobs.each { poijob ->
gradle {
switches('-PenableSonar')
switches('-Psonar.login=${POI_SONAR_TOKEN}')
switches('-Dsonar.login=${POI_SONAR_TOKEN}')
switches('-Dsonar.organization=apache')
switches('-Psonar.projectKey=poi-parent')
switches('-Dsonar.projectKey=poi-parent')
tasks('sonarqube')
useWrapper(false)
}