Thank you  Mark for quick response !!! I tried to connect github repository 
from Jenkins windows machine using github credentials but no luck. Here is 
the error:

fatal: unable to access " <github repository> : Failed connect to 
github.com:443; No error.  Do you I have to look into any Github settings?

Thanks,
P




On Friday, April 29, 2016 at 9:25:28 AM UTC-4, Mark Waite wrote:

> Be sure that you've used the "Credentials" link from the top of the 
> Jenkins UI to add a new RSA private key for your user, and that you've 
> confirmed separately from a git command line on that Windows machine that 
> the credentials allow you access to the github repository.  Use that 
> credential in the repository section of the job definition.
>
> If that still doesn't work, then it may be that you are running Jenkins as 
> a service on Windows and are encountering a known bug in the Jenkins git 
> plugin.  Refer to https://issues.jenkins-ci.org/browse/JENKINS-20356 for 
> more information on that bug.
>
> You could check if "running as a service" is the problem by stopping the 
> service you're currently running, and starting Jenkins on that machine with 
> "java -jar jenkins.war".  Define a job in that fresh running Jenkins, and 
> see if it can read from that repository.
>
> If that bug is the problem, you could enable the JGit implementation 
> (using "Manage Jenkins" -> "Configure System" -> "Git" -> "Add Git") and 
> try the JGit implementation from your Jenkins running as a Windows service.
>
> Thanks,
> Mark Waite
>
> On Fri, Apr 29, 2016 at 7:09 AM Prasu S <s.p...@gmail.com <javascript:>> 
> wrote:
>
>> I'm trying to connect from Jenkins(which is on windows server) to Github 
>> repository(this is in cloud) . I received this error: Failed to connect to 
>> repository :failed to connect to <repo. url> using credentials(status=403). 
>> Please help me resolve this issue. It's urgent.
>>
>>
>> Thank You,
>> P !!
>>
>> -- 
>> 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-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/c45809e1-b73e-4c51-a906-b403ed89ab28%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/c45809e1-b73e-4c51-a906-b403ed89ab28%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5e64fe61-ba72-4143-a80a-d9b85a906878%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to