1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

change name of class parameter

This commit is contained in:
Christopher Fenner 2018-01-30 10:06:35 +01:00
parent a95b74afcf
commit dad65ba5ff

View File

@ -118,13 +118,13 @@ def archiveResults(archive, pattern, allowEmpty){
}
}
def createCommonOptionsMap(class, settings){
def createCommonOptionsMap(publisherName, settings){
def result = [:]
def thresholds = ensureMap(settings, 'thresholds')
def fail = ensureMap(thresholds, 'fail')
def unstable = ensureMap(thresholds, 'unstable')
result.put('$class', class)
result.put('$class', publisherName)
result.put('healthy', settings.get('healthy', ''))
result.put('unHealthy', settings.get('unHealthy', ''))
result.put('canRunOnFailed', true)