1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-18 05:18:24 +02:00

Update prepareDefaultValues.groovy

This commit is contained in:
Christopher Fenner 2018-06-20 13:28:04 +02:00 committed by Marcus Holl
parent 22b6dd63f6
commit 2f0dce1a5e

View File

@ -9,7 +9,7 @@ def call(Map parameters = [:]) {
def customDefaults = parameters.customDefaults
if(customDefaults in String)
customDefaults = [].plus(customDefaults)
customDefaults = [customDefaults]
if(customDefaults in List)
configurationFiles += customDefaults
for (def configFileName : configurationFiles){