Skip to content

Commit

Permalink
[FIXED JENKINS-28824] Avoids NPE for running builds. Patch by @corent…
Browse files Browse the repository at this point in the history
…in_rossignon.
  • Loading branch information
ikedam committed Jun 25, 2015
1 parent 171c874 commit 8dcdb67
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -80,6 +80,9 @@ private void drawMainLinksJS(String nameIt) {
}

private int encodeRunResult(MatrixRun run) {
if (run.getResult() == null) {
return 0
};
if (Result.SUCCESS.isWorseOrEqualTo(run.getResult())) {
return 0
};
Expand Down

0 comments on commit 8dcdb67

Please sign in to comment.