Skip to content
Permalink
Browse files
[JENKINS-42268] Using the full classname of the property
  • Loading branch information
v1v committed Jul 29, 2017
1 parent 6ee0c84 commit 0a4e37f7401ccce82be3abf99a660f74f0dc5a50
Showing 1 changed file with 3 additions and 3 deletions.
@@ -26,14 +26,14 @@ public boolean executeCheck(Item item) {
if (Jenkins.getInstance().pluginManager.getPlugin("build-failure-analyzer") != null) {
if (Jenkins.getInstance().pluginManager.getPlugin("maven-plugin")!=null) {
if (item instanceof MavenModuleSet) {
found = isDoNotScan(((MavenModuleSet) item).getProperty("ScannerJobProperty"));
found = isDoNotScan(((MavenModuleSet) item).getProperty("com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty"));
}
}
if (item instanceof Project) {
found = isDoNotScan(((Project) item).getProperty("ScannerJobProperty"));
found = isDoNotScan(((Project) item).getProperty("com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty"));
}
if (item instanceof MatrixProject) {
found = isDoNotScan(((MatrixProject) item).getProperty("ScannerJobProperty"));
found = isDoNotScan(((MatrixProject) item).getProperty("com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty"));
}
}
return found;

0 comments on commit 0a4e37f

Please sign in to comment.