Hi,

I'm running jenkins 2.16 with the ssh-agent 1.13 plugin.
I checkout a pipline script from git with global jenkins credentials. The 
script then tries to checkout the whole repository:

node {
    //jenkins_pk is the ID of the same credentials used to checkout this 
script
    sshagent(['jenkins_pk']) {
        git url: '[email protected]:houbie/simplegroovy.git'
    }
}

The error I get is : Permission denied (publickey)
I tried this with private keys with and without passphrase.

I'm I missing something here?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6941cb61-a768-4463-8722-6d12b97ea12f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to