diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2017-07-31 15:29:28 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2017-07-31 15:29:28 +0000 |
commit | 6c64f70189bbf2827b8833e29cb62301e21e5d27 (patch) | |
tree | 2a96e9bd676bb85e44ddb7a92e67b5e260314878 /jenkins/create_jobs.groovy | |
parent | 48b01fc62104c151b927178aa323ac3d874f962e (diff) | |
download | poi-6c64f70189bbf2827b8833e29cb62301e21e5d27.tar.gz poi-6c64f70189bbf2827b8833e29cb62301e21e5d27.zip |
Add Windows jobs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins/create_jobs.groovy')
-rw-r--r-- | jenkins/create_jobs.groovy | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 85b119f1b7..8ea7f38d88 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -65,6 +65,12 @@ def poijobs = [ ], [ name: 'POI-DSL-SonarQube-Gradle', jdk: '1.8', trigger: 'H 9 * * *', gradle: true, sonar: true, skipcigame: true ], + [ name: 'POI-DSL-Windows-1.6', jdk: '1.6', trigger: 'H */12 * * *', skipcigame: true, windows: true, slaves: 'Windows', email: 'kiwiwings@apache.org' + ], + [ name: 'POI-DSL-Windows-1.7', jdk: '1.7', trigger: 'H */12 * * *', skipcigame: true, windows: true, slaves: 'Windows', email: 'kiwiwings@apache.org' + ], + [ name: 'POI-DSL-Windows-1.8', jdk: '1.8', trigger: 'H */12 * * *', skipcigame: true, windows: true, slaves: 'Windows', email: 'kiwiwings@apache.org' + ], ] def svnBase = 'https://svn.apache.org/repos/asf/poi/trunk' @@ -88,7 +94,8 @@ poijobs.each { poijob -> def jdkKey = poijob.jdk ?: defaultJdk def trigger = poijob.trigger ?: defaultTrigger def email = poijob.email ?: defaultEmail - def slaves = defaultSlaves + (poijob.slaveAdd ?: '') + def slaves = poijob.slaves ?: defaultSlaves + (poijob.slaveAdd ?: '') + def antRT = defaultAnt + (poijob.windows ? ' (Windows)' : '') job(poijob.name) { if (poijob.disabled) { @@ -219,7 +226,7 @@ for more details about the DSL.</b> prop('coverage.enabled', true) // Properties did not work, so I had to use targets instead //properties(poijob.properties ?: '') - antInstallation(defaultAnt) + antInstallation(antRT) } shell('zip -r build/javadocs.zip build/tmp/site/build/site/apidocs') } @@ -282,12 +289,12 @@ for more details about the DSL.</b> ant { targets(['clean', 'compile-all'] + (poijob.properties ?: [])) prop('coverage.enabled', true) - antInstallation(defaultAnt) + antInstallation(antRT) } ant { targets(['-Dscratchpad.ignore=true', 'jacocotask', 'test-all', 'testcoveragereport'] + (poijob.properties ?: [])) prop('coverage.enabled', true) - antInstallation(defaultAnt) + antInstallation(antRT) } } else { ant { @@ -295,14 +302,14 @@ for more details about the DSL.</b> prop('coverage.enabled', true) // Properties did not work, so I had to use targets instead //properties(poijob.properties ?: '') - antInstallation(defaultAnt) + antInstallation(antRT) } ant { targets(['run'] + (poijob.properties ?: [])) buildFile('src/integrationtest/build.xml') // Properties did not work, so I had to use targets instead //properties(poijob.properties ?: '') - antInstallation(defaultAnt) + antInstallation(antRT) } } } |