Skip to content

Commit

Permalink
[JENKINS-42268] Using the full classname of the property
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Jul 27, 2017
1 parent 9c8d2ca commit f606483
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 f606483

Please sign in to comment.