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
This commit is contained in:
Dominik Stadler 2016-12-06 14:51:21 +00:00
parent 9bfdfff2b9
commit 9ab452827a
1 changed files with 4 additions and 2 deletions

View File

@ -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')
}