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 misconfiguration of a given node.
The unreliable way is to let master in charge of a node to connect
and the other one to fail or keep failing. However, 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.htmlWhat would help is exactly what was suggested in the thread above.
Master does not reconnect slave if it was manually disconnected.
I think it would also help in situation when slave service is in
the way of the things you do with slave.
At the moment, I have not found a way to tell master
to simply back off until further notice.
Cheers,
Pawel