mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
More jenkinstuff
This commit is contained in:
parent
c027ffcd9c
commit
4d54fb409b
1 changed files with 6 additions and 3 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -5,18 +5,21 @@ pipeline {
|
|||
steps {
|
||||
sh './mvnw compile'
|
||||
}
|
||||
},
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh './mvnw test'
|
||||
}
|
||||
},
|
||||
}
|
||||
stage('Package') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
}
|
||||
},
|
||||
}
|
||||
stage('deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh './mvnw deploy'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue