Does anyone have any idea if this is possible in any way?

On Friday, June 10, 2016 at 7:20:33 PM UTC+2, Rouke Broersma wrote:
>
> I am a maintainer of the selenium grid plugin, and as part of our plugin 
> we start potentially multiple processes on slaves (selenium nodes, as part 
> of a distributed selenium grid).
> We have implemented the RestartListener to shutdown all our selenium nodes 
> on the slaves when Jenkins is restarting, but I am unable to find how to do 
> this when the master becomes unavailable for some reason.
>
> As in, when the master becomes unavailable to a slave, I want to be able 
> to have the slave shut down it's selenium node processes. This is necessary 
> because selenium contains an automatic reconnect mechanism,
> so if the connection to master is lost for unexpected reasons, we would 
> end up with duplicate selenium nodes on the slaves (plugin tries to create 
> new node on all slaves that become available and match the criteria).
> This is undesirable.
>
> So I would like to know, is there a way to tell Jenkins slaves to clean up 
> any processes I started when it no longer has a connection to master?
>

-- 
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/a005b697-a7ee-43fb-8b2d-4a826eb87d2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to