【问题标题】:Failed to connect to repository : Error performing git command: ls-remote -h https://github.com/hichemmehdi/EmployeeManager.git HEAD无法连接到存储库:执行 git 命令时出错:ls-remote -h https://github.com/hichemmehdi/EmployeeManager.git HEAD
【发布时间】:2021-12-25 14:29:38
【问题描述】:

我无法通过多管道作业访问来自 jenkins 的 repo。

我正在使用这个命令来拥有詹金斯:

sudo docker run -p 8181:8080 -p 50000:50000 -v /home/ubuntu/jenkins:/var/jenkins_home jenkins/jenkins:lts-jdk11

我的凭据是正确的,我已经将它们与 git bash 一起使用。

我在 ubuntu 20 上。

【问题讨论】:

  • 此消息表示某事失败。不幸的是,您没有向我们提供足够的信息来告诉我们什么。您是否可以包含其他错误消息或更多日志记录?

标签: git docker jenkins


【解决方案1】:

我通过使用 https 而不是使用 ssh 解决了这个问题。

谢谢你们。

【讨论】:

    最近更新 更多