-
Improvement
-
Resolution: Won't Do
-
Major
-
None
SupportPlugin.writeBundle can throw ChannelClosedException while (assumably) attempting to retrieve agent info.
For example:
hudson.remoting.ChannelClosedException: Channel "unknown": Remote call on JNLP4-connect connection from IP:PORT failed. The channel is closing down or has closed down
This seems to abort the entire bundle generation process.
It should be able to gracefully handle an agent disconnection, and just move on with the bundle generation process.
I can't see where this is actually triggered in master.
I think this might have already been addressed in https://github.com/jenkinsci/support-core-plugin/commit/efc40215b5a25acbf4eb437943637893dd9be9e4