由于主机密钥错误,无法在詹金斯中使用git fetch all

时间:2018-12-05 06:07:25

标签: git ssh ssh-keys

我正在尝试使用git fetch all从代码云中提取所有代码。我已经完成了正确的ssh keysetup并对其进行了测试。但是在jenkins自由式作业中使用时,在获取期间会失败,并显示主机密钥验证错误。

Code:
+ /usr/bin/git fetch --all

Error:
Fetching origin
Host key verification failed.
fatal: Could not read from remote repository.

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

Please help us on this. The key-setup is fine and code-cloud url is also fine.

0 个答案:

没有答案