1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
This commit is contained in:
Christopher Fenner 2019-07-05 21:41:12 +02:00
parent a896487032
commit 446a201ae4
No known key found for this signature in database
GPG Key ID: 749881F766EA636F

View File

@ -21,7 +21,7 @@ static boolean hasTestFailures(build){
static boolean addWarningsNGParser(String id, String name, String regex, String script, String example = ''){
def classLoader = this.getClass().getClassLoader()
config = classLoader.loadClass('io.jenkins.plugins.analysis.warnings.groovy.ParserConfiguration', true, false)?.getInstance()
def config = classLoader.loadClass('io.jenkins.plugins.analysis.warnings.groovy.ParserConfiguration', true, false)?.getInstance()
if(config.contains(id)){
return false