我正在尝试使用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.