From: Dominik Stadler Date: Fri, 28 Dec 2018 21:43:49 +0000 (+0000) Subject: Jenkins DSL for Github PR build: Try to create the one file which is read from src... X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=270b7f3b81e8729ef93fad360fc28601f643b2c2;p=poi.git Jenkins DSL for Github PR build: Try to create the one file which is read from src/documentation during target 'jenkins' git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849887 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 3beeb7a153..dd1ed7fb5e 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -97,7 +97,10 @@ def poijobs = [ ], [ name: 'POI-DSL-Windows-1.8', trigger: 'H */12 * * *', windows: true, slaves: 'Windows' ], - [ name: 'POI-DSL-Github-PullRequests', trigger: '', githubpr: true, skipcigame: true + [ name: 'POI-DSL-Github-PullRequests', trigger: '', githubpr: true, skipcigame: true, + // ensure the file which is needed from the separate documentation module does exist + // as we are checking out from git, we do not have the reference checked out here + addShell: 'mkdir src/documentation\ntouch src/documentation/RELEASE-NOTES.txt' ], ] @@ -287,13 +290,13 @@ poijobs.each { poijob -> stringParam('sha1', 'origin/pr/9/head', 'Provide a branch-spec, e.g. origin/pr/9/head') } triggers { - githubPullRequest { + /*githubPullRequest { admins(['centic9', 'poi-benchmark', 'tballison', 'gagravarr', 'onealj', 'pjfanning', 'Alain-Bearez']) userWhitelist(['centic9', 'poi-benchmark', 'tballison', 'gagravarr', 'onealj', 'pjfanning', 'Alain-Bearez']) orgWhitelist(['apache']) cron('H/5 * * * *') triggerPhrase('OK to test') - } + }*/ } } else { triggers { @@ -598,11 +601,11 @@ Unfortunately we often see builds break because of changes/new machines...''') 'JDK 12 (latest)', 'OpenJDK 12 b18 (early access build)' ) - elasticAxis { + /*elasticAxis { name('Nodes') labelString('!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H21&&!H35&&!websites1&&!couchdb&&!plc4x&&!ppc64le') ignoreOffline(true) - } + }*/ } steps { conditionalSteps { @@ -627,7 +630,7 @@ echo '^^^Using Ant: ${ant.version} from ${ant.home}^^^ > build.xml ''') - } + }*/ ant { antInstallation(defaultAnt + ' (Windows)') }