Failed to connect to repository : Error performing git command: git ls-remote -HEAD jenkins code example
Example: failed to connect to repository : error performing git command: git ls-remote -h
You need to copy your private ssh key into the .ssh folder beneath Jenkins. Something like (on Ubuntu Lucid): /var/lib/jenkins/.ssh