mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Jenkinsfile
This commit is contained in:
parent
0e83027b08
commit
9b3865b0d1
1 changed files with 21 additions and 11 deletions
32
Jenkinsfile
vendored
32
Jenkinsfile
vendored
|
@ -6,16 +6,26 @@ pipeline {
|
|||
sh './mvnw package'
|
||||
}
|
||||
}
|
||||
stage('test') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
}
|
||||
}
|
||||
stage('package') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'mvn test'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Package') {
|
||||
steps {
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh 'mvn deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue