diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index 95914b7..3515a68 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -13,7 +13,7 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) { @NonCPS def getConfig() { - return new Yaml(new Constructor(Map.class)).load(readFile("deployment/config.yaml")) + return new Yaml(new Constructor(Map)).load(readFile("deployment/config.yaml")) } node() {