Facing issue to configure GitHub with Jenkins

107 views
Skip to first unread message

prakash damodaran

unread,
Dec 15, 2016, 8:50:50 AM12/15/16
to Jenkins Users
Hi,

I am new to Jenkins. I am facing issue on configuring my GitHub repository with Jenkins. Please see the error below. It would be great if i get a lead on this issue.

Failed to connect to repository : Error performing command: git.exe ls-remote -h 

Thanks,
Prakash

Littlefield, Tyler

unread,
Dec 15, 2016, 8:54:22 AM12/15/16
to jenkins...@googlegroups.com
Hello:
My command looks a bit different, but things you might want to check:
Under the configuration tab, there should perhaps be an error about why
it couldn't connect. If that's what you're seeing, make sure that you
have git installed, and that it's in your path and jenkins can access
it. It also wouldn't hurt to run the command it's trying (make sure you
copy and paste it as I think you mistyped in this mail). Also if this
isn't a public repo you'll need to set that up as well.
HTH,


> Thanks,
> Prakash
>
> --
> 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
> <mailto:jenkinsci-use...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/e5ed69ce-b2c2-4eb5-be03-89cec3974e4f%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/e5ed69ce-b2c2-4eb5-be03-89cec3974e4f%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


--
Take care,
Ty
Twitter: @sorressean
Web: https://tysdomain.com
Pubkey: https://tysdomain.com/files/pubkey.asc

prakash damodaran

unread,
Dec 15, 2016, 9:39:22 AM12/15/16
to Jenkins Users, ty...@tysdomain.com
Thanks A Lot! It did help me a lot. I was referring to the wrong path of Git.exe.


On Thursday, 15 December 2016 19:24:22 UTC+5:30, sorressean wrote:
Hello:
On 12/15/2016 8:50 AM, prakash damodaran wrote:
> Hi,
>
> I am new to Jenkins. I am facing issue on configuring my GitHub
> repository with Jenkins. Please see the error below. It would be great
> if i get a lead on this issue.
>
> Failed to connect to repository : Error performing command: git.exe
> ls-remote -h
>

My command looks a bit different, but things you might want to check:
Under the configuration tab, there should perhaps be an error about why
it couldn't connect. If that's what you're seeing, make sure that you
have git installed, and that it's in your path and jenkins can access
it. It also wouldn't hurt to run the command it's trying (make sure you
copy and paste it as I think you mistyped in this mail). Also if this
isn't a public repo you'll need to set that up as well.
HTH,


> Thanks,
> Prakash
>
> --
> 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
Reply all
Reply to author
Forward
0 new messages