Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

How is the repo cloned on builder slave? #23

Open
xcompass opened this issue Apr 4, 2014 · 0 comments
Open

How is the repo cloned on builder slave? #23

xcompass opened this issue Apr 4, 2014 · 0 comments

Comments

@xcompass
Copy link

xcompass commented Apr 4, 2014

I'm trying to make this plugin work on external jenkins. I got most parts. (So close to send a pull request!) When I test it on a private repo, such as openshift repo (ssh://[email protected]/~/git/mytest.git), I got permission denied error message. It seems I don't have correct private key to to access the repo. However, the unmodified plugin works fine. I couldn't figure out how the private key is specified. Could someone point me to the right direction? Thanks.

Here is the error message I got with modified plugin:

Wiping out workspace first.
Cloning the remote Git repository
Cloning repository origin
ERROR: Error cloning remote repo 'origin' : Could not clone ssh://[email protected]/~/git/mytest.git
ERROR: Cause: Error performing command: git clone --progress -o origin ssh://[email protected]/~/git/mytest.git /var/lib/openshift/533f2df0606b93525a00022a/app-root/runtime/repo
Command "git clone --progress -o origin ssh://[email protected]/~/git/mytest.git /var/lib/openshift/533f2df0606b93525a00022a/app-root/runtime/repo" returned status code 128: Initialized empty Git repository in /var/lib/openshift/533f2df0606b93525a00022a/app-root/runtime/repo/.git/
Warning: Permanently added 'mytest-compass.example.com,xxx.xxx.xxx.xxx' (RSA) to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
fatal: The remote end hung up unexpectedly
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant