Read the config

This commit is contained in:
Ovidio Mallo 2017-01-04 12:53:14 +01:00
parent 92cc572189
commit 5c4f4a750c
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
@Library('occd') _
node() {
def config = occd.parseConfig(readFile("deployment/config.yaml"))
stage("Deploy to PREV") {
occd.tag("rubex-dev", "frontend", "b-${BRANCH}", "prev")
occd.rollout("rubex-prev", "frontend", config.prev.deployment.frontend)