Skip to content
Permalink
Browse files
Merge pull request #3471 from jglick/robustness-JENKINS-50217
[JENKINS-50217] Defend against buggy ComputerListener.onConfigurationChange implementations
  • Loading branch information
jglick committed Jun 1, 2018
2 parents 0e5fc86 + c8b2f52 commit 6f91299d6700de94eece184666400a208c237141
Showing 1 changed file with 7 additions and 2 deletions.
@@ -227,8 +227,13 @@ public void run() {
killComputer(c);
}
getQueue().scheduleMaintenance();
for (ComputerListener cl : ComputerListener.all())
cl.onConfigurationChange();
for (ComputerListener cl : ComputerListener.all()) {
try {
cl.onConfigurationChange();
} catch (Throwable t) {
LOGGER.log(Level.WARNING, null, t);
}
}
}

}

0 comments on commit 6f91299

Please sign in to comment.