This commit is contained in:
Ovidio Mallo 2016-12-09 15:54:24 +01:00
parent 1a59832aa9
commit f5ebae636f
1 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,7 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
@NonCPS
def getConfig() {
println "foo::: " + new Yaml(new Constructor(Map.class)).load(readFile("deployment/config.yaml")).getClass()
return new Yaml().load(readFile("deployment/config.yaml"))
return new Yaml(new Constructor(Map.class)).load(readFile("deployment/config.yaml"))
}
node() {