Browse Source

Jenkins: Disable one node which is missing the "svn" command

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
tags/REL_4_1_1
Dominik Stadler 5 years ago
parent
commit
11772284ec
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      jenkins/create_jobs.groovy

+ 4
- 2
jenkins/create_jobs.groovy View 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
''')

Loading…
Cancel
Save