This commit is contained in:
Ovidio Mallo 2016-12-09 16:04:15 +01:00
parent 4a9933b9b3
commit 8a0a3a651e

View file

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