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
21cd92f406
commit
ed1901230d
1 changed files with 22 additions and 7 deletions
29
Jenkinsfile
vendored
29
Jenkinsfile
vendored
|
@ -1,10 +1,25 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh './mvnw package'
|
bat './mvnw package'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
stage('Test'){
|
||||||
|
steps {
|
||||||
|
bat './mvnw test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Package'){
|
||||||
|
steps{
|
||||||
|
bat './mvnw package'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Deploy'){
|
||||||
|
steps{
|
||||||
|
echo 'Deploy'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue