Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not A Defect
-
None
-
Windows 10, Jenkins 2.249.2
Description
I have a Jenkins master running on Windows 10, and Jenkins slave agents also running on Windows 10.
The communicate and connect fine. Jobs run. Everything is nice.
However, if I want to take a slave agent offline, I cannot, it automatically restarts. It does not stay offline.
The steps to reproduce this issue are as follows
- Jenkins -> Manage Jenkins -> Manage Nodes and Clouds
- Select a node
- Select Disconnect
The node disconnects. - Wait about 30 seconds
The node automatically reconnects.
#
>Ultimately I was trying to get the remote agents to completely stop and then restart so they would come up with newly set environment variables. I was trying to disconnect the nodes so the SSH session would completely disconnect, and then I would restart.
However, I found that with the "quick restart" the SSH session seems to be maintained.
I am not sure to get you, Do you mean that after adding new environment variables to the Agent configuration and disconnect the agent then when it connects again those variables are not there? weird, when you disconnect the agent you close the SSH, and when you connect you open a new one.