Thanks for the reply.  Yeah, I don't want to use ssh.  I want to use https. 
 

On Thursday, October 31, 2013 1:24:40 PM UTC-7, Maneesh M P wrote:
>
> if you want to use git clone over ssh, keep your key at 
> /var/lib/jenkins/.ssh  then git clone will work just like how it works in 
> your command line.
>
> Thanks,
> Maneesh
>
> On Thursday, October 31, 2013 1:15:12 PM UTC-7, slouie....@gmail.comwrote:
>>
>> If I can add, in my initial post, I was running Jenkins as a service 
>> account user (we'll call jenkins).
>>
>> I also installed a local Jenkins just to debug.  If I ran Jenkins as 
>> myself and for the repository URL, i typed ssh://
>> first.l...@blah.com:8443/blah.git, this worked fine so I'm not sure 
>> what's wrong with my git or Jenkins config.  Running git frmo command line 
>> works for both ssh and https.  Jenkins works for ssh when Jenkins is run as 
>> myself.  Jenkins doesn't work on ssh and https when it's not run by me.
>>
>>
>> On Thursday, October 31, 2013 1:07:37 PM UTC-7, slouie....@gmail.comwrote:
>>>
>>> Hi,
>>>
>>> I'm a noob to Jenkins so please forgive me if this is a dumb question. 
>>>  I'm trying to use Jenkins to pull down our code from git to make a build.
>>> Someone told me to use anonymous read-only access via https in Jenkins 
>>> so we can pull down our code w/o public keys or what not.
>>> In my project, I click on "Configure".  Under Source Code 
>>> Management>Git>Repository URL, I type in our repo url.
>>>
>>> https://blah.com:8443/blah.git
>>>
>>> Jenkins returns this message below.
>>> Failed to connect to repository : Failed to connect to 
>>> https://blah.com:8443/blah.git
>>>
>>> The funny thing is when I'm on the command line, I can type this and git 
>>> works fine:
>>>
>>> git clone https://blah.com:8443/blah.git
>>>
>>> I also tried this on the cmd line too, which also worked, provided, I 
>>> have my public keys in place.
>>> git clone ssh://first.l...@blah.com:8443/blah.git
>>>
>>> What do I need to do in Jenkins so that it pulls my code down w/o 
>>> problems, just like the command line examples?  Do I need to do something 
>>> on the git repo to get this to work with Jenkins?
>>>
>>> Thanks in advance for your help.
>>>
>>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to