Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-42268] Using the full classname of the property
  • Loading branch information
v1v committed Mar 9, 2017
1 parent d483bc3 commit b660489
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -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;
Expand Down

0 comments on commit b660489

Please sign in to comment.