From 57259f3a889dd2762e8b58698565430d00075dde Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Tue, 6 Dec 2016 14:51:21 +0000 Subject: [PATCH] Jenkins DSL: Exclude one slave for the OpenJDK build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772902 13f79535-47bb-0310-9956-ffa450edef68 --- jenkins/create_jobs.groovy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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') }