Buh
This commit is contained in:
parent
64ab8c6d75
commit
03545a2504
2 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
dev:
|
||||
foo: bar
|
||||
test:
|
||||
foo2: bar2
|
||||
a: 1
|
||||
b: 2
|
||||
c:
|
||||
- aaa
|
||||
- bbb
|
|
@ -14,7 +14,7 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
|||
@NonCPS
|
||||
def getConfig() {
|
||||
def yamlAsString = "{JYaml: Original Java Implementation, JvYaml: Java port of RbYaml, SnakeYAML: Java 5 / YAML 1.1, YamlBeans: To/from JavaBeans}"
|
||||
return new Yaml().load("a: 1\nb: 2\nc:\n - aaa\n - bbb")
|
||||
return new Yaml().load(readFile("deployment/config.yaml"))
|
||||
}
|
||||
|
||||
node() {
|
||||
|
|
Loading…
Reference in a new issue