aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-12-30 20:35:13 +0000
committerDominik Stadler <centic@apache.org>2016-12-30 20:35:13 +0000
commitbce3c31ea2770a54d4cd2933f47fcc02109e9f5e (patch)
tree6c5e2c665efd42307e816d351b9c7e89614551c1 /jenkins
parent8f346f598b86ec82909f277a32075e50f5a2f6ef (diff)
downloadpoi-bce3c31ea2770a54d4cd2933f47fcc02109e9f5e.tar.gz
poi-bce3c31ea2770a54d4cd2933f47fcc02109e9f5e.zip
Set --add-modules as environment-variable as well as we need to enable it in Ant itself for the forbidden-api-checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776634 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy3
1 files changed, 3 insertions, 0 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 1c6712ec07..96158e7d4c 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -133,6 +133,9 @@ Apache POI - the Java API for Microsoft Documents
label(slaves)
environmentVariables {
env('LANG', 'en_US.UTF-8')
+ if(jdkKey == '1.9') {
+ env('ANT_OPTS', '--add-modules=java.xml.bind')
+ }
}
wrappers {
timeout {