]> source.dussan.org Git - poi.git/commitdiff
Use different directory for xerces-jar so we do not remove it again as part of check...
authorDominik Stadler <centic@apache.org>
Fri, 7 Sep 2018 20:47:08 +0000 (20:47 +0000)
committerDominik Stadler <centic@apache.org>
Fri, 7 Sep 2018 20:47:08 +0000 (20:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1840321 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index 731f82abb968dc1f3201f4aa2f7c744df0a5c5c7..3d47646bf4a77ee75a527fc7d2c9d44b1dd8e381 100644 (file)
@@ -11,7 +11,7 @@ H H * * 0
 '''
 
 def xercesUrl = 'http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.1/xercesImpl-2.6.1.jar'
-def xercesLib = 'compile-lib/xercesImpl-2.6.1.jar'
+def xercesLib = './xercesImpl-2.6.1.jar'
 
 def poijobs = [
         [ name: 'POI-DSL-1.8', trigger: 'H */12 * * *'
@@ -88,7 +88,7 @@ def poijobs = [
           disabled: true, skipcigame: true
         ],
         [ name: 'POI-DSL-old-Xerces', trigger: triggerSundays,
-          shell: "mkdir -p compile-lib && test -f ${xercesLib} || wget -O ${xercesLib} ${xercesUrl}\n",
+          shell: "test -f ${xercesLib} || wget -O ${xercesLib} ${xercesUrl}\n",
           // the property triggers using Xerces as XML Parser and previously showed some exception that can occur
           properties: ["-Dadditionaljar=${xercesLib}"]
         ],