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
4bbab55f17
commit
f8011d7a1e
1 changed files with 13 additions and 0 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -6,5 +6,18 @@ pipeline {
|
|||
bat './mvnw package'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
bat './mvnw test'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
bat './mvnw deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue