1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

correct parameter name to fit purpose

This commit is contained in:
Christopher Fenner 2018-02-01 08:22:12 +01:00
parent 22103fadca
commit 5df94aee3a

View File

@ -53,12 +53,12 @@ def aggregate(settings){
} }
} }
def report(stepName, settings, defaultPattern, doArchive){ def report(publisherName, settings, defaultPattern, doArchive){
// exit if set to FALSE // exit if set to FALSE
if(!Boolean.FALSE.equals(settings)){ if(!Boolean.FALSE.equals(settings)){
settings = asMap(settings) settings = asMap(settings)
def pattern = settings.get('pattern', defaultPattern) def pattern = settings.get('pattern', defaultPattern)
def options = createCommonOptionsMap(stepName, settings) def options = createCommonOptionsMap(publisherName, settings)
options.put('pattern', pattern) options.put('pattern', pattern)
// publish // publish
step(options) step(options)