aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-04-07 16:32:41 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-04-07 16:32:41 +0300
commitd97bd3956e1408d30685fa596d29b4bcb291535b (patch)
tree48d2977a3045c97caf9c8aba192cbb691b7bf20d
parentbc72df4b7f6b5c2a7ab13521456a1eba0b876eec (diff)
downloadjenkins-plugin-linaro-pubapi-d97bd3956e1408d30685fa596d29b4bcb291535b.tar.gz
Fix issue when build step is not availabel in WebUI for Matrix builds.
This change is actually more liberal and just allows this build step used with any kind of project, which hopefully won't hurt. Change-Id: Ia465d6d879df29f24f8dc6406e3c29b0c208cb58
-rw-r--r--src/main/java/linaro/pubapi/LinaroPubAPIKey.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/linaro/pubapi/LinaroPubAPIKey.java b/src/main/java/linaro/pubapi/LinaroPubAPIKey.java
index d7b90c7..4c80ec9 100644
--- a/src/main/java/linaro/pubapi/LinaroPubAPIKey.java
+++ b/src/main/java/linaro/pubapi/LinaroPubAPIKey.java
@@ -76,7 +76,9 @@ public class LinaroPubAPIKey extends Builder {
@Override
public boolean isApplicable(Class<? extends AbstractProject> jobType) {
- return FreeStyleProject.class.isAssignableFrom(jobType);
+ // Go bold and apply to any possible project type
+ return true;
+ //return FreeStyleProject.class.isAssignableFrom(jobType);
}
@Override