This commit is contained in:
Ovidio Mallo 2016-12-09 16:05:17 +01:00
parent 8a0a3a651e
commit c06533e147

View file

@ -13,8 +13,7 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
@NonCPS @NonCPS
def getConfig() { def getConfig() {
def ctor = new Constructor(MyMap) return new Yaml(new Constructor(HashMap)).load(readFile("deployment/config.yaml"))
return new Yaml(ctor).load(readFile("deployment/config.yaml"))
} }
node() { node() {