This commit is contained in:
Ovidio Mallo 2016-12-09 16:40:18 +01:00
parent fd9edd0eea
commit 1a5effd9a5

View file

@ -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() {