Buh
This commit is contained in:
parent
4a9933b9b3
commit
8a0a3a651e
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
||||||
|
|
||||||
@NonCPS
|
@NonCPS
|
||||||
def getConfig() {
|
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() {
|
node() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue