Failed to connect to repository : Error performing command: git.exe ls-remote -h https://github.com/szabbas/Sample-programs.git HEAD

前端 未结 4 975
梦毁少年i
梦毁少年i 2020-12-10 01:27

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 po

4条回答
  •  北海茫月
    2020-12-10 02:08

    In my case this issue happened because of there is no git installed on my CentOS server.

    1. sudo yum install git
    2. git --version

    After installing git i just make sure that my Global Tool Configuration default pointed to git Jenkins > Manage Jenkins > Global Tool Configuration > Git

    • Name : Default
    • Path to Git executable : git

    just posting this may help you in case of similar issue you had

提交回复
热议问题