jenkins 发行--克隆远程回购'原点;

ki1q1bka  于 2022-11-01  发布在  Jenkins
关注(0)|答案(1)|浏览(118)

突然之间,我开始得到以下错误,当试图运行自动化脚本通过Jenkins。
Jenkins设置非常稳定,脚本运行良好。
我正在努力了解哪里出了问题,可能的根本原因是什么,以及如何解决它。感谢您的帮助。

ERROR: Error cloning remote repo 'origin' 
hudson.plugins.git.GitException: Command "git fetch...." returned status code 128:
stdout:
stderr:ERROR: Repository not found
fatal: Could not read from remote repository
Please make sure you have the correct access rights and the repository exists.

我正在通过不同的线程为这个错误,但没有结果。

brccelvz

brccelvz1#

首先检查您的Jenkins作业使用的URL,以及它是SSH还是HTTPS。
这样,您就可以检查SSH密钥(用于SSH URL)或凭据(用于HTTPS)是否不正确。
例如,一个远程GitHub仓库将不再接受密码或token with the old format

相关问题