buh
This commit is contained in:
parent
e3cf1c4a50
commit
44ee82fd24
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue