You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2020/04/05 00:07:08 UTC

[logging-log4j2] branch master updated: Use explicit toolchain file

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 115bd02  Use explicit toolchain file
115bd02 is described below

commit 115bd023c3da7096691461d3a0e6a041cd409e06
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sat Apr 4 19:06:41 2020 -0500

    Use explicit toolchain file
    
    Seems like these weren't picked up
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 310ea66..75e6a8e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,7 +38,7 @@ pipeline {
                         LANG = 'en_US.UTF-8'
                     }
                     steps {
-                        sh 'mvn -B -fn -Djenkins -V clean install deploy'
+                        sh 'mvn -B -fae -t "$HOME/.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 -fn -Dfile.encoding=UTF-8 -V clean install
+                        mvn -B -fae -t '%home%'\\.m2\\toolchains.xml -Dfile.encoding=UTF-8 -V clean install
                         '''
                         junit '**/*-reports/*.xml'
                     }