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() {