aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-12-06 14:51:21 +0000
committerDominik Stadler <centic@apache.org>2016-12-06 14:51:21 +0000
commit9ab452827a17de0240170f15baaf1fe96f19a4b0 (patch)
tree8263c7c8f317061ac5a1ecd53477c6ed74185862 /jenkins
parent9bfdfff2b988d8b8a3d4c6a9d352820bb56622e8 (diff)
downloadpoi-9ab452827a17de0240170f15baaf1fe96f19a4b0.tar.gz
poi-9ab452827a17de0240170f15baaf1fe96f19a4b0.zip
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
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy6
1 files changed, 4 insertions, 2 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 3b30e334a5..1da99c7a96 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')
}