]> source.dussan.org Git - poi.git/commitdiff
Jenkins DSL for Github PR build: Try to create the one file which is read from src...
authorDominik Stadler <centic@apache.org>
Fri, 28 Dec 2018 21:43:49 +0000 (21:43 +0000)
committerDominik Stadler <centic@apache.org>
Fri, 28 Dec 2018 21:43:49 +0000 (21:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849887 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index 3beeb7a153056cca61819cde11debb3c47d485a2..dd1ed7fb5e717941af3aed4c5b4411afe46c2da1 100644 (file)
@@ -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 '<?xml version="1.0"?><project name="POI Build" default="test"><target name
                 fileExists('c:\\windows', BaseDir.WORKSPACE)
                 runner('DontRun')
                 steps {
-                    batchFile {
+                    /*batchFile {
                         command(
 '''@echo off
 echo .
@@ -637,7 +640,7 @@ javac -version
 echo .
 echo ^<?xml version=^"1.0^"?^>^<project name=^"POI Build^" default=^"test^"^>^<target name=^"test^"^>^<echo^>Using Ant: ${ant.version} from ${ant.home}^</echo^>^</target^>^</project^> > build.xml
 ''')
-                    }
+                    }*/
                     ant {
                         antInstallation(defaultAnt + ' (Windows)')
                     }