You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2020/02/13 06:17:19 UTC
[struts] branch master updated: Maps container path the same as
host path
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 9695852 Maps container path the same as host path
9695852 is described below
commit 9695852a52f5f0a9ec8e86535e27e8f4cf76cd24
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Thu Feb 13 07:17:12 2020 +0100
Maps container path the same as host path
---
Jenkinsfile | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index d60ab71..73642e8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -18,18 +18,12 @@ pipeline {
docker {
label 'ubuntu'
image 'maven:3-jdk-11'
- args '-v $HOME/.m2:/root/.m2 -e MAVEN_OPTS="-Xmx1024m" -e USER=$USER'
+ args "-v $HOME/.m2:$HOME/.m2 -e MAVEN_OPTS=\"-Xmx1024m\" -e USER=$USER"
}
}
stages {
stage('Clean Up') {
steps {
- sh 'echo $USER'
- sh "echo ${env.USER}"
- sh "echo $USER"
- sh 'echo $WORKSPACE'
- sh "echo ${env.WORKSPACE}"
- sh "echo $WORKSPACE"
cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
}
}