更新时间:2023-11-17 08:05:58
如果您具有Windows从站和SSH凭据插件,那是因为Windows不提供ssh-agent.如果您使用SSH凭据插件来提供git密钥以在命令行步骤中签出仓库,则可以为每个代理上的git客户端提供密钥(因为git具有ssh-agent).如果您的情况不是我想的那样,则需要按照第二步此处所述的步骤进行操作评论.
If you have Windows slave and SSH Credentials plugin that is because Windows doesn't provide ssh-agent. If you're using SSH Credentials plugin for provide key to git to check out a repo in comand-line step, you can provide key to git client on each agent (because git have ssh-agent). If your case not that I supposed, you need to follow steps described here in second comment.