Buh
This commit is contained in:
parent
fd9edd0eea
commit
1a5effd9a5
1 changed files with 2 additions and 10 deletions
|
@ -13,16 +13,8 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
|||
|
||||
@NonCPS
|
||||
def getConfig() {
|
||||
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)
|
||||
def yamlAsString = "a: 1\nb: 2\nc:\n - aaa\n - bbb"
|
||||
return new Yaml().load(yamlAsString)
|
||||
}
|
||||
|
||||
node() {
|
||||
|
|
Loading…
Reference in a new issue