Pass the branch to the build config

This commit is contained in:
Ovidio Mallo 2017-01-04 11:45:28 +01:00
parent 56a8cd10f1
commit 8b67562c67
2 changed files with 1 additions and 7 deletions

View file

@ -1,10 +1,4 @@
dev: dev:
build:
frontend:
templates:
- manifest: deployment/manifests/build.yaml
parameters:
BRANCH: master
deployment: deployment:
frontend: frontend:
templates: templates:

View file

@ -14,7 +14,7 @@ node() {
stage("Build") { stage("Build") {
echo "versions: build=${buildVersion}, next-release=${releaseVersion}" echo "versions: build=${buildVersion}, next-release=${releaseVersion}"
sh "sed -e 's/{{BUILD_VERSION}}/${buildVersion}/g' -i config.ru" sh "sed -e 's/{{BUILD_VERSION}}/${buildVersion}/g' -i config.ru"
occd.build("rubex-dev", "frontend-master", config.dev.build.frontend) occd.build("rubex-dev", "frontend-master", "deployment/manifests/build.yaml", "master")
} }
stage("Deploy to DEV") { stage("Deploy to DEV") {