From 3310456586f6a2353885596d5a8fa115e1357b4e Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Fri, 9 Dec 2016 15:42:29 +0100 Subject: [PATCH] Buh --- deployment/pipeline.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index e087ac1..44f94f3 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -12,8 +12,8 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) { @NonCPS def getConfig() { - println new Yaml().load(file("deployment/config.yaml")).getClass() - return new Yaml().load(file("deployment/config.yaml")) + println new Yaml().load(readFile("deployment/config.yaml")).getClass() + return new Yaml().load(readFile("deployment/config.yaml")) } node() {