diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 3b30e334a..1da99c7a9 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -15,7 +15,9 @@ def poijobs = [ ], [ name: 'POI-DSL-1.8', jdks: ['1.8'], trigger: 'H */12 * * *' ], - [ name: 'POI-DSL-OpenJDK', jdks: ["OpenJDK"], trigger: 'H */12 * * *' + [ name: 'POI-DSL-OpenJDK', jdks: ["OpenJDK"], trigger: 'H */12 * * *', + // H16 does not have OpenJDK 6 installed + slaveAdd: '&&!H16' ], [ name: 'POI-DSL-1.9', jdks: ['1.9'], trigger: triggerSundays, properties: ['-Dmaxpermsize=-Dthis.is.a.dummy=true', '-Djava9addmods=--add-modules=java.xml.bind', '-Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true', '-Djava.locale.providers=JRE,CLDR'], @@ -104,7 +106,7 @@ Apache POI - the Java API for Microsoft Documents numToKeep(5) artifactNumToKeep(1) } - label('ubuntu&&!cloud-slave') + label('ubuntu&&!cloud-slave' + (poijob.slaveAdd ?: '')) environmentVariables { env('LANG', 'en_US.UTF-8') }