]> source.dussan.org Git - poi.git/commitdiff
Jenkins-DSL: Do not expect to find mvn executable in Test-Environment
authorDominik Stadler <centic@apache.org>
Sat, 26 Oct 2019 06:35:15 +0000 (06:35 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 26 Oct 2019 06:35:15 +0000 (06:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868986 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index bfd400c6669d6798fad92df9adba35bc386e18f6..36dc31de06570a1ba2a7d17a82b9d3ee652aebfb 100644 (file)
@@ -603,7 +603,7 @@ echo '<?xml version="1.0"?><project name="POI Build" default="test"><target name
 
                     shell(
                             '''which mvn || true
-mvn -version
+mvn -version || true
 echo '<project><modelVersion>4.0.0</modelVersion><groupId>org.apache.poi</groupId><artifactId>build-tst</artifactId><version>1.0.0</version></project> > pom.xml
 ''')
                     maven {