I have this configured this way as well, but it still hangs on:

git fetch --tags --progress [email protected]:space.git 
> +refs/heads/*:refs/remotes/origin/*


SSH'ing into Jenkins and running git clone with the same key in ~/.ssh 
works just fine

git clone [email protected]:space.git
>


On Saturday, September 17, 2016 at 12:27:34 AM UTC-4, Mark Waite wrote:
>
> You need a credential that looks like this ->
>
> [image: github-username-password.png]
>
> You don't want a credential that looks like this ->
> [image: github-rsa-private-key.png]
>
> Mark Waite
>
> On Fri, Sep 16, 2016 at 8:33 PM Hung <[email protected] 
> <javascript:>> wrote:
>
>> Thanks, I will try to see if I can this to work a little more before 
>> trying
>> to install older version of git.  I didn't any setting for me to choose
>> https or ssh.  I just added the credentials in the SCM location when i 
>> added
>> my repo.  I chose username and password and provided both.  Here is image 
>> of
>> the credential in the Jenkins Credential Tab.
>>
>> <
>> http://jenkins-ci.361315.n4.nabble.com/file/n4842697/Screen_Shot_2016-09-16_at_8.png
>> >
>>
>> If there is a location in the Jenkins to say use https or ssh, please let 
>> me
>> know.
>>
>>
>>
>> --
>> View this message in context: 
>> http://jenkins-ci.361315.n4.nabble.com/Mac-Jenkins-Can-t-Clone-fetch-from-GitHub-tp4842626p4842697.html
>> Sent from the Jenkins users mailing list archive at Nabble.com.
>>
>> --
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/1474082919062-4842697.post%40n4.nabble.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/5b502a96-a45a-44c4-920e-b7ef21f12a66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to