My Jenkins is installed on a remote server and I can access it through a particular URL. When I try to add source code management as git and provide the URL of my git repo, it gives me an error:
Failed to connect to repository : Command "git ls-remote -h [email protected]:XXX.git HEAD" returned status code 128: stdout: stderr: Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exist
I can clone my git repo to my local.