更新时间:2023-11-17 08:15:04
我在以下位置看到了ssh-agent:
I see ssh-agent in:
C:\>where ssh-agent
C:\tools\gits\latest\usr\bin\ssh-agent.exe
您需要确保您的%PATH%
(由执行Jenkins作业的用户看到)包括Git\bin
,Git\usr\bin
,Git\mingw64\bin
.
(用Git安装路径文件夹替换Git
)
You need to make sure your %PATH%
(as seen by the user executing the Jenkins job) includes Git\bin
, Git\usr\bin
, Git\mingw64\bin
.
(Replace Git
by the Git installation path folder)
执行任务(甚至失败)后,查找环境变量"链接:您将确切看到谁在运行任务(USERNAME
)和使用的PATH
.
After executing a job (even failed), look for the link "Environment Variables": you will see exactly who was running the job (USERNAME
) and the PATH
used.