I am new to programming and trying to work with GIT repository and while configuring with the JENKINS is facing the error. I know it's a silly question but on a beginner point of view I am stuck and can't move forward. Please help me in resolving the error.
I have my code at the GIT repository and trying to build using jenkins. But it is giving the error as :
Failed to connect to repository : Error performing command: git.exe ls-remote -h https://github.com/szabbas/Sample-programs.git HEAD
I have done to get the cloning through the GID bash and it is cloning with no issues with the URl. I am also attching the image with the same.
I got the answer...just wanted to post here so that if some new programmer are there (like me) can look the basic things :-
While going in the project--> Configure--> set the path of the git correctly.
It should be till the bin and then append git.exe like *\bin\git.exe