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