mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Jenkinsfile modif
This commit is contained in:
parent
bcb2d9264b
commit
c027ffcd9c
1 changed files with 15 additions and 0 deletions
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -2,9 +2,24 @@ pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh './mvnw compile'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stage('Test') {
|
||||||
|
steps {
|
||||||
|
sh './mvnw test'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stage('Package') {
|
||||||
steps {
|
steps {
|
||||||
sh './mvnw package'
|
sh './mvnw package'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
stage('deploy') {
|
||||||
|
steps {
|
||||||
|
sh './mvnw deploy'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue