Skip to content

Commit

Permalink
[FIXED JENKINS-30506] fix loading of nodeEligibility
Browse files Browse the repository at this point in the history
  • Loading branch information
imod committed Oct 28, 2016
1 parent 19cb786 commit 7d10298
Showing 1 changed file with 6 additions and 4 deletions.
Expand Up @@ -272,10 +272,12 @@ public Object readResolve() {
}
defaultSlaves.add(defaultValue);
}
if (ignoreOfflineNodes) {
nodeEligibility = new IgnoreOfflineNodeEligibility();
} else {
nodeEligibility = new AllNodeEligibility();
if(nodeEligibility == null) {
if (ignoreOfflineNodes) {
nodeEligibility = new IgnoreOfflineNodeEligibility();
} else {
nodeEligibility = new AllNodeEligibility();
}
}
return this;
}
Expand Down

0 comments on commit 7d10298

Please sign in to comment.