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
e22e419495
commit
babbe25b67
1 changed files with 7 additions and 9 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -1,13 +1,12 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
bat './mvnw package'
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
bat './mvnw package'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Test') {
|
||||
stage('Test') {
|
||||
steps {
|
||||
echo 'Testing'
|
||||
}
|
||||
|
@ -24,15 +23,14 @@ pipeline {
|
|||
expression {
|
||||
GIT_BRANCH == 'master'
|
||||
}
|
||||
|
||||
}
|
||||
steps {
|
||||
echo 'Deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
slackSend "The pipeline ${currentBuild.fullDisplayName} completed successfully."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue