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
4ce785806e
commit
f788ac6f5d
1 changed files with 5 additions and 1 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -1,3 +1,5 @@
|
|||
final boolean doNotSkip = false;
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
|
@ -17,8 +19,10 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
when (doNotSkip) {
|
||||
steps {
|
||||
sh './mvnw deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue