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 http.sslVerify false
command to disable it, but not sure how to use it from Jenkins.
Error:
Failed to connect to repository : Command "C:\Program Files (x86)\Git\cmd\git.exe ls-remote -h url ofmy repository.git HEAD" returned status code 128:
stdout:
stderr: fatal: unable to access 'url of my git/': SSL certificate problem: self signed certificate in certificate chain