Jenkins Git integration - How to disable SSL certificate validation

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

    Create Freestyle project and Add "Windows Batch Command" and add the

    git config http.sslVerify false or git config --config http.sslVerify false

    Once this is done, save it and build the job

    Now your jenkin is configured to as not to do ssl verification. After the successful build now you can remove the batch command build step and edit the same project for your configuration.

提交回复
热议问题