automatic reconnec after manual disconnec - windows service slave
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 :-(