mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
fix typo
This commit is contained in:
parent
a896487032
commit
446a201ae4
@ -21,7 +21,7 @@ static boolean hasTestFailures(build){
|
|||||||
|
|
||||||
static boolean addWarningsNGParser(String id, String name, String regex, String script, String example = ''){
|
static boolean addWarningsNGParser(String id, String name, String regex, String script, String example = ''){
|
||||||
def classLoader = this.getClass().getClassLoader()
|
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)){
|
if(config.contains(id)){
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user