I'm developing a plugin for Jenkins. Here's a link to another question with all my code (but it's kind of irrelevant).
I've implemented a ComputerListener
whose onOffline
method gets called when a computer disconnects. But when the server goes down onOffline
gets called twice for every connected computer. The plugin is written in Ruby but the problem remains in Java. Why is that and can it be avoided?