I\'m creating a job in Jenkins 2.152 running on Windows Server 2016 which needs to pull from a git repo hosted on bitbucket.org. I tested the ssh key through git-bash so I k
I also got this error message and eventually found out that the Jenkins credential should be RSA secret key, not public key. Below is my steps for configuring Jenkins to clone from bitbucket:
Kind: SSH username and private key Scope: Global Username:
Private key: -----BEGIN RSA PRIVATE KEY----- ...... -----END RSA PRIVATE KEY-----