Jenkins Git integration - How to disable SSL certificate validation

后端 未结 7 839
执念已碎
执念已碎 2020-12-30 04:28

I am getting the below error while creating a job from Jenkins. How do I disable certificate validation in Jenkins?

From Git Bash I can use git config --global

7条回答
  •  佛祖请我去吃肉
    2020-12-30 04:51

    You can use JGit and can fix it by creating a .gitconfig file in JENKINS_HOME with this lines:

    [http]
    sslVerify = false
    

提交回复
热议问题