mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +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') {
|
stage('Deploy to dev') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
agent any
|
agent any
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
@ -115,6 +118,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Smoke test dev') {
|
stage('Smoke test dev') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'maven:3.5.0'
|
image 'maven:3.5.0'
|
||||||
|
|
Loading…
Reference in a new issue