mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Modify Jenkinsfile check branch name
This commit is contained in:
parent
b8ef21d2e9
commit
c40b588cee
1 changed files with 20 additions and 5 deletions
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -6,5 +6,20 @@ pipeline {
|
||||||
bat './mvnw package'
|
bat './mvnw package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Test') {
|
||||||
|
steps {
|
||||||
|
bat 'mvn test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Package') {
|
||||||
|
steps {
|
||||||
|
bat 'echo Package...'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Deploy') {
|
||||||
|
steps {
|
||||||
|
bat "echo 'Pulling...' + env.BRANCH_NAME"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue