mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +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
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh './mvnw compile'
|
||||
}
|
||||
},
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh './mvnw test'
|
||||
}
|
||||
},
|
||||
stage('Package') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
}
|
||||
},
|
||||
stage('deploy') {
|
||||
steps {
|
||||
sh './mvnw deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue