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 {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
bat './mvnw package'
|
bat './mvnw compile'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
|
@ -11,6 +11,11 @@ pipeline {
|
||||||
bat './mvnw test'
|
bat './mvnw test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Package') {
|
||||||
|
steps {
|
||||||
|
bat './mvnw package'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
when {
|
when {
|
||||||
branch 'master'
|
branch 'master'
|
||||||
|
|
Loading…
Reference in a new issue