Jenkins Git integration - How to disable SSL certificate validation

后端 未结 7 845
执念已碎
执念已碎 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:37

    I had the same problem. First i used Git using a Shell Script that disabled the SSL Verification before the clone or pull.

    Later i switched to using JGit instead which works as expected (though its not recommended to use). However with JGit you some features such as shallow clones are not supported.

    Afair i didn't have to install anything to use JGit

提交回复
热议问题