]> source.dussan.org Git - poi.git/commitdiff
Try to make dependency on "svn" optional to allow to build on more CI nodes
authorDominik Stadler <centic@apache.org>
Sat, 13 Apr 2019 13:06:43 +0000 (13:06 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 13 Apr 2019 13:06:43 +0000 (13:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857476 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index 4ba5c5e27fd25d33e359ad33a05c53850cedf429..7f7c7baf2c856d4821dce6ae7bea161d8b9e7e01 100644 (file)
@@ -97,8 +97,7 @@ def defaultEmail = 'dev@poi.apache.org'
 def defaultAnt = 'Ant 1.9.9'
 // currently a lot of H?? slaves don't have Ant installed ... H21 seems to have a SVN problem
 // H35 fails with ImageIO create cache file errors, although the java.io.tmpdir is writable
-def defaultSlaves = '(ubuntu||beam)&&!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H21&&!H35' +
-        '&&!apache-beam-jenkins-8'
+def defaultSlaves = '(ubuntu||beam)&&!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H21&&!H35'
 
 def jdkMapping = [
         '1.6': 'JDK 1.6 (latest)',
@@ -153,7 +152,7 @@ def sonarDesc = '''
 
 def shellCmdsUnix =
         '''# show which files are currently modified in the working copy
-svn status
+svn status || true
 
 # print out information about which exact version of java we are using
 echo Java-Home: $JAVA_HOME
@@ -598,7 +597,7 @@ Unfortunately we often see builds break because of changes/new machines...''')
                 runner('DontRun')
                 steps {
                     shell(
-'''which svn
+'''which svn || true
 which javac
 javac -version
 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