From 56b381585cea1941c99d82118ea4f7817d3513dc Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Fri, 9 Dec 2016 16:06:48 +0100 Subject: [PATCH] Buh --- deployment/pipeline.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index e095c89..4827ffe 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -13,7 +13,7 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) { @NonCPS def getConfig() { - return new Yaml(new Constructor(HashMap)).load(readFile("deployment/config.yaml")) + return new Yaml().loadAs(readFile("deployment/config.yaml"), HashMap) } node() {