This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/master by this push:
     new d49d2e5  Fix toolchain locations
d49d2e5 is described below

commit d49d2e506bc33770335496debd2bd48866915f22
Author: Matt Sicker <[email protected]>
AuthorDate: Sat Apr 4 19:11:16 2020 -0500

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

diff --git a/Jenkinsfile b/Jenkinsfile
index 75e6a8e..6cb5b5d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,7 +38,7 @@ pipeline {
                         LANG = 'en_US.UTF-8'
                     }
                     steps {
-                        sh 'mvn -B -fae -t "$HOME/.m2/toolchains.xml" 
-Djenkins -V clean install deploy'
+                        sh 'mvn -B -fae -t /home/jenkins/.m2/toolchains.xml 
-Djenkins -V clean install deploy'
                         junit '**/*-reports/*.xml'
                         archiveArtifacts artifacts: '**/*.jar', fingerprint: 
true
                         recordIssues sourceCodeEncoding: 'UTF-8', 
referenceJobName: 'log4j/master',
@@ -58,7 +58,7 @@ pipeline {
                     steps {
                         bat '''
                         if exist %userprofile%\\.embedmongo\\ rd /s /q 
%userprofile%\\.embedmongo
-                        mvn -B -fae -t '%home%'\\.m2\\toolchains.xml 
-Dfile.encoding=UTF-8 -V clean install
+                        mvn -B -fae -t f:\\jenkins\\.m2\\toolchains.xml 
-Dfile.encoding=UTF-8 -V clean install
                         '''
                         junit '**/*-reports/*.xml'
                     }

Reply via email to