This commit is contained in:
Ovidio Mallo 2016-12-09 16:38:51 +01:00
parent 0f709800e1
commit fd9edd0eea

View file

@ -13,12 +13,16 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
@NonCPS @NonCPS
def getConfig() { def getConfig() {
def yamlAsString = '''a: 1 String exampleYaml = '''widgets:
|b: 2 | - name: blah
|c: | age: 3000
|- aaa | silly: true
|- bbb''' | - name: blah meh
return new Yaml().load(yamlAsString) | age: 13939
| silly: false
|uuid: 1938484
|isActive: false'''.stripMargin()
return new Yaml().load(exampleYaml)
} }
node() { node() {