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 e5f121a try to display .mavenrc when available
e5f121a is described below
commit e5f121ac87c032c20952be02ca222a03d570d92e
Author: Hervé Boutemy <[email protected]>
AuthorDate: Wed Jul 31 08:14:59 2019 +0200
try to display .mavenrc when available
---
Jenkinsfile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 81254d9..65bcc00 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -84,6 +84,10 @@ for (String os in runITsOses) {
node(jenkinsEnv.nodeSelection(osLabel)) {
stage("${stageLabel}") {
echo "NODE_NAME = ${env.NODE_NAME}"
+ if ( fileExists "${user.home}/.mavenrc" ) {
+ echo "${user.home}/.mavenrc"
+ readFile encoding: 'UTF-8', file:
'${user.home}/.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
// will not trample each other plus workaround for
JENKINS-52657