diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index 6b6137f..d18f752 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -10,7 +10,7 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) { return replicas ?: defaultReplicas } -@NoCPS +@NonCPS def getConfig(environment) { new Yaml().load(readFile("deployment/config.yaml")) }