mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05: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 {
|
||||
stage('build') {
|
||||
steps {
|
||||
// sh './mvnw clean package -Dmaven.test.skip=true '
|
||||
sh 'docker --version'
|
||||
sh 'docker build -f . --tag pet .'
|
||||
sh './mvnw clean package -Dmaven.test.skip=true '
|
||||
// sh 'docker --version'
|
||||
// sh 'docker build -f . --tag pet .'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ pipeline {
|
|||
|
||||
stage('run') {
|
||||
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