This commit is contained in:
Ovidio Mallo 2016-12-09 16:06:48 +01:00
parent c06533e147
commit 56b381585c

View file

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