On Sat, Jun 18, 2016 at 7:24 AM, Rouke Broersma <[email protected]> wrote: > Does anyone have any idea if this is possible in any way?
If you are asking whether there is a listener on the _agent_ side for a disconnection, I am not aware of one. `ComputerListener` runs on the master side. Even if there were a hook run on the agent side, it is questionable whether it would work reliably: an implementation would need to be very careful to force all required classes to have been loaded into the agent JVM while the connection was still alive, since after disconnection any stray code that runs which attempts to load novel classes will simply get `NoClassDefFoundError`s. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3LDQOOtUWrpuXL6Cimhvk5EsHgcLLXP7MqAyf71x3MXA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
