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
|
@NonCPS
|
||||||
def getConfig() {
|
def getConfig() {
|
||||||
String exampleYaml = '''widgets:
|
def yamlAsString = "a: 1\nb: 2\nc:\n - aaa\n - bbb"
|
||||||
| - name: blah
|
return new Yaml().load(yamlAsString)
|
||||||
| age: 3000
|
|
||||||
| silly: true
|
|
||||||
| - name: blah meh
|
|
||||||
| age: 13939
|
|
||||||
| silly: false
|
|
||||||
|uuid: 1938484
|
|
||||||
|isActive: false'''.stripMargin()
|
|
||||||
return new Yaml().load(exampleYaml)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
node() {
|
node() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue