You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/07/31 07:17:10 UTC
[maven] branch MAVEN_OPTS updated: better display of .mavenrc
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch MAVEN_OPTS
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/MAVEN_OPTS by this push:
new 292c530 better display of .mavenrc
292c530 is described below
commit 292c530036734e54da4c54d14e1c5ee425dd9919
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Wed Jul 31 09:17:04 2019 +0200
better display of .mavenrc
---
Jenkinsfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 3a9cbd1..7288fdc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -85,8 +85,9 @@ for (String os in runITsOses) {
stage("${stageLabel}") {
echo "NODE_NAME = ${env.NODE_NAME}"
if ( fileExists("/home/jenkins/.mavenrc") ) {
- echo "/home/jenkins/.mavenrc"
- readFile encoding: 'UTF-8', file: '/home/jenkins/.mavenrc'
+ echo "${env.NODE_NAME}:/home/jenkins/.mavenrc exists"
+ def mavenrc = readFile encoding: 'UTF-8', file: '/home/jenkins/.mavenrc'
+ echo "${mavenrc}"
}
// on Windows, need a short path or we hit 256 character limit for paths
// using EXECUTOR_NUMBER guarantees that concurrent builds on same agent