Buh
This commit is contained in:
parent
56b381585c
commit
23d3d638b4
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,10 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
|||
|
||||
@NonCPS
|
||||
def getConfig() {
|
||||
return new Yaml().loadAs(readFile("deployment/config.yaml"), HashMap)
|
||||
def yamlAsString = "{JYaml: Original Java Implementation, "
|
||||
+ "JvYaml: Java port of RbYaml, SnakeYAML: Java 5 / YAML 1.1, "
|
||||
+ "YamlBeans: To/from JavaBeans}";
|
||||
return new Yaml().load(yamlAsString)
|
||||
}
|
||||
|
||||
node() {
|
||||
|
|
Loading…
Reference in a new issue