Fix parameter passing
Change-Id: I380901b114a93afbe04b46f58ba376953ca36402
diff --git a/test-cookiecutter-reclass.groovy b/test-cookiecutter-reclass.groovy
index 2b0912f..d66017c 100644
--- a/test-cookiecutter-reclass.groovy
+++ b/test-cookiecutter-reclass.groovy
@@ -156,7 +156,7 @@
reclassVersion: "${reclassVersion}"
"""
def chunkJob = build job: chunkJobName, parameters: [
- [$class: 'StringParameterValue', name: 'EXTRA_VARIABLES_YAML',
+ [$class: 'TextParameterValue', name: 'EXTRA_VARIABLES_YAML',
value : _values_string.stripIndent()],
]
// Put sub-job info into global map.
@@ -276,7 +276,7 @@
stepsForParallel.put("Removing generated passwords/secrets from ${it}",
{
def secrets = readYaml file: it
- for(String key in secrets['parameters']['_param'].keySet()) {
+ for (String key in secrets['parameters']['_param'].keySet()) {
secrets['parameters']['_param'][key] = 'generated'
}
// writeYaml can't write to already existing file