From b8776a54129b3d1c93360991e57fd78c71c6c4a0 Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Fri, 9 Dec 2016 15:23:17 +0100 Subject: [PATCH] Buh --- deployment/pipeline.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index ddd4769..ec9e516 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -11,8 +11,8 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) { } @NonCPS -def getConfig(environment) { - return new Yaml().load(readFile("deployment/config.yaml"))[environment] +def getConfig() { + return new Yaml().load(readFile("deployment/config.yaml")) } node() { @@ -22,8 +22,8 @@ node() { def appManifest = "deployment/manifests/app.yaml" println "teeeeeest start" - def config = getConfig("dev") - println config + def config = getConfig() + println config.dev println "teeeeeest end" stage("Build") {