mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
add packaged stage
This commit is contained in:
parent
f8011d7a1e
commit
6a73fb8c86
1 changed files with 6 additions and 1 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -3,7 +3,7 @@ pipeline {
|
|||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
bat './mvnw package'
|
||||
bat './mvnw compile'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
|
@ -11,6 +11,11 @@ pipeline {
|
|||
bat './mvnw test'
|
||||
}
|
||||
}
|
||||
stage('Package') {
|
||||
steps {
|
||||
bat './mvnw package'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
|
|
Loading…
Reference in a new issue