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 $env to resolve variables
Date Wed, 12 Feb 2020 19:24:23 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 246d216  Uses $env to resolve variables
246d216 is described below

commit 246d2168e27d62e40a38d2e7251837bfe6e04b8a
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Wed Feb 12 20:24:16 2020 +0100

    Uses $env to resolve variables
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


Mime
View raw message