mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Jenkinsfile
master check
This commit is contained in:
parent
117716538e
commit
ff5e61bb5d
1 changed files with 4 additions and 1 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -21,6 +21,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh './mvnw deploy'
|
sh './mvnw deploy'
|
||||||
}
|
}
|
||||||
|
@ -37,4 +40,4 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue