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
|
@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() {
|
||||||
|
|
Loading…
Reference in a new issue