diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-09-01 22:32:48 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-09-01 22:32:48 +0000 |
commit | 5c6493a5fc76f2e11441d39af05e3f3208283896 (patch) | |
tree | a6e806672bf04201688e641e10a23ca9d712ef18 /jenkins | |
parent | 7adf9c26b799f1323f77a5c80f463b5fe2a7f2a6 (diff) | |
download | poi-5c6493a5fc76f2e11441d39af05e3f3208283896.tar.gz poi-5c6493a5fc76f2e11441d39af05e3f3208283896.zip |
try to fix no-scratchpad build
remove or set-to-static scratchpad dependency from modules
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892795 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/create_jobs.groovy | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 15ea158dc9..b8f490e272 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -63,7 +63,7 @@ def poijobs = [ ], [ name: 'POI-DSL-Gradle', trigger: triggerSundays, email: 'centic@apache.org', gradle: true ], - [ name: 'POI-DSL-no-scratchpad', trigger: triggerSundays, noScratchpad: true + [ name: 'POI-DSL-no-scratchpad', trigger: triggerSundays, noScratchpad: true, gradle: true ], [ name: 'POI-DSL-SonarQube', jdk: '1.11', trigger: 'H 7 * * *', maven: true, sonar: true, skipcigame: true, email: 'kiwiwings@apache.org', @@ -445,17 +445,9 @@ poijobs.each { poijob -> gradle { tasks('clean jenkins') useWrapper(true) - } - } else if (poijob.noScratchpad) { - ant { - targets(['clean', 'compile'] + (poijob.properties ?: [])) - prop('coverage.enabled', true) - antInstallation(antRT) - } - ant { - targets(['-Dscratchpad.ignore=true', 'jacocotask', 'test-all', 'testcoveragereport'] + (poijob.properties ?: [])) - prop('coverage.enabled', true) - antInstallation(antRT) + if (poijob.noScratchpad) { + switches('-Pscratchpad.ignore=true') + } } } else { ant { |