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 02:24:43 UTC
[logging-log4j2] 04/04: Switch back to explicit toolchains
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
commit 9a8597218cd0b606a4e33600026c790c07498106
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sat Apr 4 21:24:01 2020 -0500
Switch back to explicit toolchains
The implicit ones don't seem to be as implied as I thought.
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 53bc6ef..842c828 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,7 +38,7 @@ pipeline {
LANG = 'en_US.UTF-8'
}
steps {
- sh 'mvn -B -fae -t /home/jenkins/.m2/toolchains.xml -Djenkins -V clean install deploy'
+ sh 'mvn -B -fae -t toolchains-jenkins-ubuntu.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 f:\\jenkins\\.m2\\toolchains.xml -Dfile.encoding=UTF-8 -V clean install
+ mvn -B -fae -t toolchains-jenkins-win.xml -Dfile.encoding=UTF-8 -V clean install
'''
junit '**/*-reports/*.xml'
}