Jenkins Error: Failed to connect to repository : Error performing git command: git.exe ls-remote -h<URL>Head | Selenium Forum
M
Mahanthi Kanakamedala Posted on 28/01/2021

When trying to create an Item with Jenkins following error occurs when I enter GIT URL (public/ private with credentials).

Failed to connect to repository : Error performing git command: git.exe ls-remote -h<URL>Head

Please let me know if any additional configuration is required.


A
Ashish Thakur Replied on 30/01/2021

Try it once again

At times there is server issue

Is the path to rep correct?


S
Sarita Maheedhara Replied on 12/06/2021

Hi Ashish,

 

I am running into the same error, I tried restarting Jenkins but that did not solve the issue (checked that the path is correct). Please advise

Responsive image


A
Ashish Thakur Replied on 15/06/2021

You need to add the github credentials there