Repository: maven
Updated Branches:
  refs/heads/master 4d9074460 -> 7c02b2014


we are well into the crazy here


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/7c02b201
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/7c02b201
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/7c02b201

Branch: refs/heads/master
Commit: 7c02b2014efafbc934a1f5816102b016db51dc4b
Parents: 4d90744
Author: Stephen Connolly <stephen.alan.conno...@gmail.com>
Authored: Tue Jan 3 13:01:43 2017 +0000
Committer: Stephen Connolly <stephen.alan.conno...@gmail.com>
Committed: Tue Jan 3 13:01:43 2017 +0000

----------------------------------------------------------------------
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/7c02b201/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 410b014..84fcfac 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -79,7 +79,7 @@ parallel linuxJava7:{
                 bat "if exist it-local-repo rmdir /s /q it-local-repo"
                 bat "if exist apache-maven-dist.zip del /q 
apache-maven-dist.zip"
                 unstash 'dist'
-                
withEnv(["Path+MAVEN=$MAVEN_WIN_J7\\bin","Path+JDK=$JAVA_WIN_J7\\bin"]) {
+                
withEnv(['Path+MAVEN='+MAVEN_WIN_J7.replace('\\\\','\\')+'\\bin','Path+JDK'+JAVA_WIN_J7.replace('\\\\','\\')+'\\bin'])
 {
                     bat "set"
                     bat "mvn clean verify  -Prun-its -B -U -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/it-local-repo 
-DmavenDistro=$WORK_DIR/apache-maven-dist.zip"
                     junit allowEmptyResults: true, 
testResults:'**/target/*-reports/*.xml'
@@ -96,7 +96,7 @@ parallel linuxJava7:{
                 bat "if exist it-local-repo rmdir /s /q it-local-repo"
                 bat "if exist apache-maven-dist.zip del /q 
apache-maven-dist.zip"
                 unstash 'dist'
-                
withEnv(["Path+MAVEN=$MAVEN_WIN_J8\\bin","Path+JDK=$JAVA_WIN_J8\\bin"]) {
+                
withEnv(['Path+MAVEN='+MAVEN_WIN_J8.replace('\\\\','\\')+'\\bin','Path+JDK'+JAVA_WIN_J8.replace('\\\\','\\')+'\\bin'])
 {
                     bat "set"
                     bat "mvn clean verify  -Prun-its -B -U -V 
-Dmaven.test.failure.ignore=true -Dmaven.repo.local=$WORK_DIR/it-local-repo 
-DmavenDistro=$WORK_DIR/apache-maven-dist.zip"
                     junit allowEmptyResults: true, 
testResults:'**/target/*-reports/*.xml'

Reply via email to