mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
another fix
This commit is contained in:
parent
2f13f2ee76
commit
c114ec8432
1 changed files with 4 additions and 2 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -9,11 +9,13 @@ pipeline {
|
|||
dockerfile {
|
||||
filename 'Dockerfile.build'
|
||||
dir '.'
|
||||
args '-v $HOME/.m2:/root/.m2'
|
||||
args '-v $HOME/.m2:/root/.m2 --name petclinic-build'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
echo 'Build done'
|
||||
script {
|
||||
sh 'docker cp petclinic-build:/build/target/app.jar .'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue