Skip to content

Commit

Permalink
[JENKINS-21999] Workaround: ignore an offline slave.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed May 12, 2014
1 parent 214f1ca commit 44539f3
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -59,6 +59,9 @@ public void addContents(@NonNull Container container) {

private void addContents(@NonNull Container container, final @NonNull Node node) {
Computer c = node.toComputer();
if (c == null) {
return;
}
if (c instanceof SlaveComputer && !Boolean.TRUE.equals(((SlaveComputer) c).isUnix())) {
return;
}
Expand Down

0 comments on commit 44539f3

Please sign in to comment.