From 23d3d638b4d917fbbb708a05f563580028b48da3 Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Fri, 9 Dec 2016 16:09:10 +0100 Subject: [PATCH] Buh --- deployment/pipeline.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index 4827ffe..a4a4c9f 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -13,7 +13,10 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) { @NonCPS def getConfig() { - return new Yaml().loadAs(readFile("deployment/config.yaml"), HashMap) + def yamlAsString = "{JYaml: Original Java Implementation, " + + "JvYaml: Java port of RbYaml, SnakeYAML: Java 5 / YAML 1.1, " + + "YamlBeans: To/from JavaBeans}"; + return new Yaml().load(yamlAsString) } node() {