From dad65ba5ff56eeb884e407e2d7b0198b3b87355f Mon Sep 17 00:00:00 2001 From: Christopher Fenner Date: Tue, 30 Jan 2018 10:06:35 +0100 Subject: [PATCH] change name of class parameter --- vars/checkResultPublish.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/checkResultPublish.groovy b/vars/checkResultPublish.groovy index b8df15c0c..84b97effd 100644 --- a/vars/checkResultPublish.groovy +++ b/vars/checkResultPublish.groovy @@ -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)