Jenkins 部署 -- Failed to connect to repository

Jenkins 部署 – Failed to connect to repository

问题:

Failed to connect to repository : Command "git ls-remote -h XXXXX.git HEAD" returned status code 128:
stdout: 
stderr: GitLab: The project you were looking for could not be found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

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

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

你可能感兴趣的:(Jenkins)