This commit is contained in:
Ovidio Mallo 2016-12-15 18:06:03 +01:00
parent e3cf1c4a50
commit 44ee82fd24

View file

@ -18,7 +18,9 @@ def parseYaml(content) {
@NonCPS
def ocTemplateParametersAsCommandLineOpt(parameters) {
return parameters.collect { parameter -> "-v ${parameter}" }.join(" ")
def parameterOpts = []
parameters.each { parameter -> parameterOpts << "-v ${parameter}" }
return parameterOpts.join(" ")
}
@NonCPS