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