mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Merge pull request #36 from liatrio/PET-no-dev-deploy
No longer deploys to dev on non-master branches.
This commit is contained in:
commit
e7ae81d642
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