mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
No longer deploys to dev on non-master branches.
This commit is contained in:
parent
7dbdaf2178
commit
f3911a65ed
1 changed files with 6 additions and 0 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -106,6 +106,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Deploy to dev') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
agent any
|
||||
steps {
|
||||
script {
|
||||
|
@ -115,6 +118,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Smoke test dev') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
agent {
|
||||
docker {
|
||||
image 'maven:3.5.0'
|
||||
|
|
Loading…
Reference in a new issue