Pass the branch to the build config
This commit is contained in:
parent
56a8cd10f1
commit
8b67562c67
2 changed files with 1 additions and 7 deletions
|
@ -1,10 +1,4 @@
|
|||
dev:
|
||||
build:
|
||||
frontend:
|
||||
templates:
|
||||
- manifest: deployment/manifests/build.yaml
|
||||
parameters:
|
||||
BRANCH: master
|
||||
deployment:
|
||||
frontend:
|
||||
templates:
|
||||
|
|
|
@ -14,7 +14,7 @@ node() {
|
|||
stage("Build") {
|
||||
echo "versions: build=${buildVersion}, next-release=${releaseVersion}"
|
||||
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") {
|
||||
|
|
Loading…
Reference in a new issue