From bce3c31ea2770a54d4cd2933f47fcc02109e9f5e Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Fri, 30 Dec 2016 20:35:13 +0000 Subject: [PATCH] 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 --- jenkins/create_jobs.groovy | 3 +++ 1 file changed, 3 insertions(+) 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 { -- 2.39.5