aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2020-10-25 19:29:46 +0000
committerDominik Stadler <centic@apache.org>2020-10-25 19:29:46 +0000
commit75ccbe125e23adc9f9a105399d46eb2a9edac24f (patch)
tree6dfdef6dc3071e2ba61a94d2ce14a34131dc8da5 /jenkins
parent8374537d5ad1cd6cc7541cc5ae5dc03ca3550dac (diff)
downloadpoi-75ccbe125e23adc9f9a105399d46eb2a9edac24f.tar.gz
poi-75ccbe125e23adc9f9a105399d46eb2a9edac24f.zip
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
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy8
1 files changed, 4 insertions, 4 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 3c03b0d160..ff3510adad 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -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)
}