Skip to content
Permalink
Browse files
[JENKINS-50217] Defend against buggy ComputerListener.onConfiguration…
…Change implementations.

(cherry picked from commit c8b2f52)
  • Loading branch information
jglick authored and olivergondza committed Jun 7, 2018
1 parent b21b0c0 commit 8ade79859ef23ce12a2ceb4ebbf449df8761c626
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 8ade798

Please sign in to comment.