Jenkins 部署 -- Failed to connect to repository

曾经终败给现在 2023-06-25 01:59 135阅读 0赞

Jenkins 部署 – Failed to connect to repository

问题:

  1. Failed to connect to repository : Command "git ls-remote -h XXXXX.git HEAD" returned status code 128:
  2. stdout:
  3. stderr: GitLab: The project you were looking for could not be found.
  4. fatal: Could not read from remote repository.
  5. Please make sure you have the correct access rights
  6. and the repository exists.

解决方案:
1、排查服务器是否存在问题:查看服务器的对应的连接方式(ssh和http方式)是否能够正常使用

2、确认1无问题后,推荐:https://www.cnblogs.com/cnlg123/p/7762889.html

发表评论

表情:
评论列表 (有 0 条评论,135人围观)

还没有评论,来说两句吧...

相关阅读