mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
change name of class parameter
This commit is contained in:
parent
a95b74afcf
commit
dad65ba5ff
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user