Buh
This commit is contained in:
parent
0f709800e1
commit
fd9edd0eea
1 changed files with 10 additions and 6 deletions
|
@ -13,12 +13,16 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
|||
|
||||
@NonCPS
|
||||
def getConfig() {
|
||||
def yamlAsString = '''a: 1
|
||||
|b: 2
|
||||
|c:
|
||||
|- aaa
|
||||
|- bbb'''
|
||||
return new Yaml().load(yamlAsString)
|
||||
String exampleYaml = '''widgets:
|
||||
| - name: blah
|
||||
| age: 3000
|
||||
| silly: true
|
||||
| - name: blah meh
|
||||
| age: 13939
|
||||
| silly: false
|
||||
|uuid: 1938484
|
||||
|isActive: false'''.stripMargin()
|
||||
return new Yaml().load(exampleYaml)
|
||||
}
|
||||
|
||||
node() {
|
||||
|
|
Loading…
Reference in a new issue