]> source.dussan.org Git - poi.git/commitdiff
Jenkins: Disable one node which is missing the "svn" command
authorDominik Stadler <centic@apache.org>
Sat, 13 Apr 2019 07:41:21 +0000 (07:41 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 13 Apr 2019 07:41:21 +0000 (07:41 +0000)
display if svn is available as part of the Test-Environment job

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857449 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index 2c461eb13ef325b57ef89aeb465cdbe1e9119d91..4ba5c5e27fd25d33e359ad33a05c53850cedf429 100644 (file)
@@ -97,7 +97,8 @@ 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'
+def defaultSlaves = '(ubuntu||beam)&&!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H21&&!H35' +
+        '&&!apache-beam-jenkins-8'
 
 def jdkMapping = [
         '1.6': 'JDK 1.6 (latest)',
@@ -597,7 +598,8 @@ Unfortunately we often see builds break because of changes/new machines...''')
                 runner('DontRun')
                 steps {
                     shell(
-'''which javac
+'''which svn
+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
 ''')