This commit is contained in:
Ovidio Mallo 2016-12-09 16:09:10 +01:00
parent 56b381585c
commit 23d3d638b4

View file

@ -13,7 +13,10 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
@NonCPS @NonCPS
def getConfig() { 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() { node() {