Skip to content
Permalink
Browse files
[JENKINS-21999] Workaround: ignore an offline slave.
  • Loading branch information
jglick committed May 12, 2014
1 parent 214f1ca commit 44539f3a597ed5c37436be28d1087de0aacdd3be
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/com/cloudbees/jenkins/support/impl/FileDescriptorLimit.java
@@ -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;
}

0 comments on commit 44539f3

Please sign in to comment.