Skip to content

Commit

Permalink
Maps container path the same as host path
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Feb 13, 2020
1 parent 1001771 commit 9695852
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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']]
}
}
Expand Down

0 comments on commit 9695852

Please sign in to comment.