struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts] branch master updated: Uses WORKSPACE env instead of USER
Date Wed, 12 Feb 2020 19:10:36 GMT
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/master by this push:
     new bcd8db1  Uses WORKSPACE env instead of USER
bcd8db1 is described below

commit bcd8db10a310ba63a17e875ffe9adf85ecc64ce7
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Wed Feb 12 20:10:27 2020 +0100

    Uses WORKSPACE env instead of USER
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b4d1f93..8ef68fa 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,6 +1,6 @@
 #!groovy
 
-dockerArgs = '-v $HOME/.m2:/root/.m2 -e MAVEN_OPTS="-Xmx1024m" -e USER=$USER'
+dockerArgs = '-v $WORKSPACE/.m2:/root/.m2 -e MAVEN_OPTS="-Xmx1024m" -e USER=$USER'
 
 pipeline {
   agent none


Mime
View raw message