aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2022-12-30 08:11:30 +0000
committerDominik Stadler <centic@apache.org>2022-12-30 08:11:30 +0000
commitf3fbf0233aad2659d339a8ecfff9e7981fbf0201 (patch)
tree93032a2e679de89824101522402da82267da79ba /jenkins
parent42a2c9606a091a283b7bc6b68593e3005caae9b0 (diff)
downloadpoi-f3fbf0233aad2659d339a8ecfff9e7981fbf0201.tar.gz
poi-f3fbf0233aad2659d339a8ecfff9e7981fbf0201.zip
Jenkins DSL: Do not try to rebuild sources with Gradle for JDK 20
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906274 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy18
1 files changed, 11 insertions, 7 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 3e03996d3f..0d84b005fd 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -56,7 +56,9 @@ def poijobs = [
[ name: 'POI-DSL-1.19', jdk: '1.19', trigger: triggerSundays, skipcigame: true, skipSpotbugs: true
],
// Jenkins on ci-builds.apache.org does not support spotbugs with a new enough version of asm for Java18+
- [ name: 'POI-DSL-1.20', jdk: '1.20', trigger: triggerSundays, skipcigame: true, skipSpotbugs: true, useAnt: true
+ [ name: 'POI-DSL-1.20', jdk: '1.20', trigger: triggerSundays, skipcigame: true, skipSpotbugs: true,
+ // these two can be removed again when gradle supports JDK 20
+ useAnt: true, skipSourceBuild: true
],
// Use Ant-build for now as selecting IBM JDK via toolchain does not work (yet)
[ name: 'POI-DSL-IBM-JDK', jdk: 'IBMJDK', trigger: triggerSundays, skipcigame: true, useAnt: true
@@ -466,12 +468,14 @@ poijobs.each { poijob ->
//properties(poijob.properties ?: '')
antInstallation(antRT)
}
- ant {
- targets(['run'] + (poijob.properties ?: []))
- buildFile('poi-integration/build.xml')
- // Properties did not work, so I had to use targets instead
- //properties(poijob.properties ?: '')
- antInstallation(antRT)
+ if(!poijob.skipSourceBuild) {
+ ant {
+ targets(['run'] + (poijob.properties ?: []))
+ buildFile('poi-integration/build.xml')
+ // Properties did not work, so I had to use targets instead
+ //properties(poijob.properties ?: '')
+ antInstallation(antRT)
+ }
}
}
}