Please bear with me. I'd do a search for this information but frankly I
don't know enough about Jenkins & GIT to come up with a meaningful
query.

I'm trying to create a set of scripts shared between myself and a 
Government customer.
They'll be invoking them on a super computer and I'll be invoking them on 
Thunder2X
server via Jenkins.

So I've managed to create a private repository which I'll call for the sake 
of this
posting.

https://github.com/usergary/scripts.git

I've managed to but a test script on it and hand it public ssh key. It all
works fine and dandy from my desktop Linux box but here's the 
grief I run into on Jenkins:

I cloned an existing build then started modifying the *Source Code 
Management*
stuff (under the advice of somebody else that doesn't really know this part 
of
Jenkins.) When I clicked the *GIT *button and entered 

https://github.com/usergary/scripts.git

in the *Repository URL* field I got this:

Failed to connect to repository : Command "/usr/bin/git ls-remote -h 
https://github.com/usergary/scripts.git HEAD" returned status code 128:
stdout: 
stderr: remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/usergary/scripts.git/'

All I want to do is associated the private ssh key with my invocation of 
this Jenkins build
so I can run the following in the execute shell:


git clone https://github.com/usergary/scripts.git

What stupid things have I done wrong in my ignorance and what should I be 
doing instead?

Many thanks,

Gary Oblock

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c1ffc2da-9970-487b-847d-0bba96a60dbc%40googlegroups.com.

Reply via email to