BLD FIX docker agent jenkins home volume
de.nclazz/maven-boot/pipeline/head There was a failure building this commit Details

develop
Niclas Thobaben 2020-11-30 23:49:13 +01:00
parent d5a044cdfe
commit 7fb8b49acf
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -2,7 +2,8 @@ pipeline {
agent {
docker {
image 'maven:3-alpine'
args '-v $HOME/.m2:/var/jenkins_home/.m2'
args '-v $HOME/.m2:/var/jenkins_home/.m2:z -u root'
reuseNode true
}
}
stages {