mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
d5a568eb43
commit
c92bfef31c
1 changed files with 16 additions and 0 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -2,9 +2,25 @@ pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh './mvnw clean'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
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