mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 01:15:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
c52c77eef8
commit
191169bfcc
1 changed files with 4 additions and 4 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -3,9 +3,9 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('build') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
// sh './mvnw clean package -Dmaven.test.skip=true '
|
sh './mvnw clean package -Dmaven.test.skip=true '
|
||||||
sh 'docker --version'
|
// sh 'docker --version'
|
||||||
sh 'docker build -f . --tag pet .'
|
// sh 'docker build -f . --tag pet .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ pipeline {
|
||||||
|
|
||||||
stage('run') {
|
stage('run') {
|
||||||
steps {
|
steps {
|
||||||
sh 'cp -r target/spring-petclinic-3.0.0-SNAPSHOT.jar bin/spring-petclinic-3.0.0-SNAPSHOT.jar'
|
sh 'cp -r target/ /shared/target'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue