hi,

I have the problem with automatic reconnect after disconnect. I work with
slave as a windows service. I find this behaviour annoying in the following
use case.

I need to migrate gradually jenkins master to a new machine. 
There will be 2 jenkins masters with cloned configuration. At any given
moment only one master should be connected to given node, but node will be
configured on both.
However, once the node is configured, there is no way to tell master not to
reconnect.
The only reliable way is to misconfigure given node.
The unreliable way is to let master in charge of a node to connect and the
preconfigured one to fail. Things get ugly if you have to restart any of 2
masters :-(

The subject has been already discussed:
http://jenkins.361315.n4.nabble.com/disconnected-slave-nodes-reconnect-automatically-td378239.html

What would help is exactly what was suggested in the thread above.
Master does not reconnect slave if it was manually disconnected.

I thing it would also help in situation when slave service is in the way of
the things you do with slave. There is no way to tell master to simply back
off until further notice.



Cheers,
Pawel



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Automatic-reconnect-after-manual-disconnect-tp4643194.html
Sent from the Jenkins users mailing list archive at Nabble.com.

Reply via email to