I created a private key and added the public key to my keys on the bitpack, as described in this tutorial
I am trying to add a private key to Jenkins in the Credentials menu, but it just says:
Failed to connect to repository : Command "C:\Program Files\Git\cmd\git.exe -c core.askpass=true ls-remote -h git@bitbucket.org :bla/blabla.git HEAD" returned status code 128: stdout: stderr: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
What am I doing wrong with Jenkins?
Thanks.
git bitbucket ssh ssh-keys jenkins
user3635388
source share