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:
parent
30d64fda8c
commit
57259f3a88
@ -15,7 +15,9 @@ def poijobs = [
|
|||||||
],
|
],
|
||||||
[ name: 'POI-DSL-1.8', jdks: ['1.8'], trigger: 'H */12 * * *'
|
[ 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,
|
[ 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'],
|
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)
|
numToKeep(5)
|
||||||
artifactNumToKeep(1)
|
artifactNumToKeep(1)
|
||||||
}
|
}
|
||||||
label('ubuntu&&!cloud-slave')
|
label('ubuntu&&!cloud-slave' + (poijob.slaveAdd ?: ''))
|
||||||
environmentVariables {
|
environmentVariables {
|
||||||
env('LANG', 'en_US.UTF-8')
|
env('LANG', 'en_US.UTF-8')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user