Skip to content

Commit

Permalink
Fix/jenkinsfile branch name (#16)
Browse files Browse the repository at this point in the history
* Add fixed Jenkinsfile, fix branch names

* Change Gitlab branch to develop
  • Loading branch information
ONS-Tom authored and ONS-Anthony committed Dec 7, 2017
1 parent 9aad1a2 commit eeedeea
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
deleteDir()
checkout scm
dir('conf') {
git(url: "$GITLAB_URL/BusinessIndex/bi-ui.git", credentialsId: 'bi-gitlab-id', branch: 'feature/manifests')
git(url: "$GITLAB_URL/BusinessIndex/bi-ui.git", credentialsId: 'bi-gitlab-id', branch: 'develop')
}
stash name: 'app'
script {
Expand Down Expand Up @@ -155,9 +155,9 @@ pipeline {
agent { label 'GMU' }
when {
anyOf {
branch DEPLOY_DEV
branch DEPLOY_TEST
branch DEPLOY_PROD
branch BRANCH_DEV
branch BRANCH_TEST
branch BRANCH_PROD
}
}
steps {
Expand Down Expand Up @@ -189,8 +189,8 @@ pipeline {
agent { label 'GMU' }
when {
anyOf {
branch DEPLOY_DEV
branch DEPLOY_TEST
branch BRANCH_DEV
branch BRANCH_TEST
}
}
steps {
Expand All @@ -205,8 +205,8 @@ pipeline {
agent { label 'GMU' }
when {
anyOf {
branch DEPLOY_DEV
branch DEPLOY_TEST
branch BRANCH_DEV
branch BRANCH_TEST
}
}
steps {
Expand All @@ -219,7 +219,7 @@ pipeline {
agent { label 'GMU' }
when {
anyOf {
branch DEPLOY_PROD
branch BRANCH_PROD
}
}
steps {
Expand All @@ -235,7 +235,7 @@ pipeline {
agent { label 'GMU' }
when {
anyOf {
branch "master"
branch BRANCH_PROD
}
}
steps {
Expand Down

0 comments on commit eeedeea

Please sign in to comment.