I am tring to pull the all code from code-cloud using git fetch all. I have done the proper ssh keysetup and tested it. But while using in jenkins free-style job , during fetch it is failing with host key verificiation error.
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.