-
Bug
-
Resolution: Unresolved
-
Minor
-
None
ExecRemoteAgentFactory.isSupported() calls ssh-agent -k. If SSH_AGENT_PID is set and pointing to a running ssh-agent, the isSupported test will terminate it.
In ExecRemoteAgentFactory.java#L59 , it could be fixed by tweaking the environment with envs()
launcher.launch().cmds("ssh-agent", "-k").envs("SSH_AGENT_PID=")...
[JENKINS-44308] Pre-existing ssh-agent is killed by ssh-agent-plugin
Assignee | New: Xavier Vergés [ xverges ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
https://github.com/jenkinsci/ssh-agent-plugin/pull/20