aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-06-04 10:23:27 +0000
committerPJ Fanning <fanningpj@apache.org>2022-06-04 10:23:27 +0000
commit44b3bf86b38b4b18e9054d408ec666f2630b0ead (patch)
treec4f52b5d19080983c900f8a23b6fa71685936c5b /jenkins
parentd074e8b4eb3cd2c9eb996ef3a6b13391c54a8e51 (diff)
downloadpoi-44b3bf86b38b4b18e9054d408ec666f2630b0ead.tar.gz
poi-44b3bf86b38b4b18e9054d408ec666f2630b0ead.zip
jdk 18 build support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901613 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 6d5bb95210..b17603db72 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -532,7 +532,7 @@ xmlbeansjobs.each { xjob ->
// when using JDK 9/10 for running Ant, we need to provide more modules for the forbidden-api-checks task
// on JDK 11 and newer there is no such module any more, so do not add it here
env('ANT_OPTS', '--add-modules=java.xml.bind --add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED')
- } else if (jdkKey == '1.11' || jdkKey == '1.12' || jdkKey == '1.13' || jdkKey == '1.14' || jdkKey == '1.15' || jdkKey == '1.16' || jdkKey == '1.17') {
+ } else if (jdkKey == '1.11' || jdkKey == '1.12' || jdkKey == '1.13' || jdkKey == '1.14' || jdkKey == '1.15' || jdkKey == '1.16' || jdkKey == '1.17' || jdkKey == '1.18') {
env('ANT_OPTS', '--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED')
}
// will be needed for forbidden-apis-check: env('ANT_HOME', xjob.windows ? 'f:\\jenkins\\tools\\ant\\latest' : '/usr/share/ant')