Skip to content

Commit

Permalink
Allow master and develop branch for acc deployment and master for pro…
Browse files Browse the repository at this point in the history
…d deployment
  • Loading branch information
maartendekeizer authored Feb 16, 2021
1 parent eadc473 commit 418f3cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ node {

String BRANCH = "${env.BRANCH_NAME}"

if (BRANCH == "master" || BRANCH == "dpsecure" || BRANCH == "feature/user_search") {
if (BRANCH == "master" || BRANCH == "develop") {

node {
stage('Push acceptance image') {
Expand All @@ -72,6 +72,9 @@ if (BRANCH == "master" || BRANCH == "dpsecure" || BRANCH == "feature/user_search
}
}
}

}
if (BRANCH == "master") {

stage('Waiting for approval') {
slackSend channel: '#ci-channel-app', color: 'warning', message: 'schuldhulp is waiting for Production Release - please confirm'
Expand Down

0 comments on commit 418f3cb

Please sign in to comment.