【问题标题】:Failed to connect to repository : Error performing git command: git.exe ls-remote -h无法连接到存储库:执行 git 命令时出错:git.exe ls-remote -h
【发布时间】:2021-11-26 07:57:17
【问题描述】:

尝试在 Jenkins 的 SCM 部分添加我的存储库时,出现以下错误。无法连接到存储库:执行 git 命令时出错:git.exe ls-remote -h

请帮忙!

【问题讨论】:

标签: jenkins devops jobs


【解决方案1】:

这可能是因为您使用了错误的凭据。确保您放入配置部分的用户至少在远程存储库中具有读取权限。

【讨论】:

    最近更新 更多