mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +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 {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
}
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
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