Skip to content
Permalink
Browse files
[JENKINS-50217] Defend against buggy ComputerListener.onConfiguration…
…Change implementations.
  • Loading branch information
jglick committed Jun 1, 2018
1 parent a02b1ca commit c8b2f52895dad7fbc0e5aeaadbaa7f3ff2d4bdee
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 c8b2f52

Please sign in to comment.