From 5c6493a5fc76f2e11441d39af05e3f3208283896 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Wed, 1 Sep 2021 22:32:48 +0000 Subject: 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 --- jenkins/create_jobs.groovy | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'jenkins') 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 { -- cgit v1.2.3