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 06:51:39 UTC

[maven] branch MAVEN_OPTS updated: hardcode /home/jenkins: it's temporary

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 77416a9  hardcode /home/jenkins: it's temporary
77416a9 is described below

commit 77416a9f5a31329eb22a861b431dbf26fa42ef92
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Wed Jul 31 08:51:35 2019 +0200

    hardcode /home/jenkins: it's temporary
---
 Jenkinsfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0aad549..3a9cbd1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -84,9 +84,9 @@ 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'
+                    if ( fileExists("/home/jenkins/.mavenrc") ) {
+                        echo "/home/jenkins/.mavenrc"
+                        readFile encoding: 'UTF-8', file: '/home/jenkins/.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