Jenkins deployment key is not associated with the repository
First make sure that you added the public key to the right repo with the right permission, usually I add it to 'Access keys' so the user has read only permission, then to make sure that is working add the private key to you system so you can use it with using git:

ssh-add private-key
git clone &lt;your git repo&gt;


If it's working, add those credential to you jenkins and use them later