I installed Jenkins as daemon (on mac os x 10.7) and I am using 'real-os-user
' as JENKINS USER.
I am trying to configure a job with git project (helloworld
) but I get the following error:
Failed to connect to repository : Command "git ls-remote -h git-server-name:helloworld HEAD" returned status code 128:
stdout:
stderr: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
fatal: The remote end hung up unexpectedly
If I run the 'git ls-remote -h git-server-name:helloworld HEAD
' in terminal window, it works fine.
I printed 'env
' variables, and I see Jenkins is using 'real-os-user
'..
Any ideas are appreciated. Thanks