Skip to content
Permalink
Browse files

Fix NPE for unbuilt jobs when claim plugin is installed.

[FIXED JENKINS-20129]
  • Loading branch information...
david-resnick committed Oct 19, 2013
1 parent 27e4360 commit 0c2e61f9fa56ce403a0be1f3f40511c92dc73fbe
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/hudson/model/JobViewEntry.java
@@ -415,6 +415,9 @@ public String getClaim() {
return null;
}
Run<?, ?> lastBuild = getLastCompletedRun();
if (lastBuild == null) {
return null;
}
// find the claim
String claim = "";
if (lastBuild instanceof hudson.matrix.MatrixBuild) {

0 comments on commit 0c2e61f

Please sign in to comment.
You can’t perform that action at this time.