Jenkins giving error while cloning from gitHub

前端 未结 7 1170
没有蜡笔的小新
没有蜡笔的小新 2020-12-29 21:05

I am new to Jenkins, I am getting following error while cloning repository from GitHub.

I tried to search all relevant issues here but coul

7条回答
  •  不思量自难忘°
    2020-12-29 21:44

    I went through the same issue.

    I noticed the mixture of git configuration in individual jobs "/var/lib/jenkins/jobs/job_name/config.xml":

    [root@jenkins.example.com jobs]# find . -maxdepth 2 -name     config.xml|xargs grep ''
    ./job1/config.xml:    git
    ./job2/config.xml:    Default
    ./job3/config.xml:    git
    ./job4/config.xml:    Default
    

    So I fixed the name of gitTool and restarted the Jenkins. It looks like the git configuration doesn't properly and the change of git is not propagated to all jobs.

    Also be aware that the git configuration can differ in .xml file with configuration and the configuration in webface of the Jenkins!!!

提交回复
热议问题