git - Cannot checkout GitHub repo from Jenkinsfile -
i have groovy script define jenkins workflow, , not able github checkout on 1 of jenkins server. same script works in 1st jenkins server not in another. both jenkins server on same version , githhub plugin updated
console output of works:
"using git_ssh set credentials github (ssh):"
console output of not working:
"using git_askpass set credentials github (https):"
i think because of https checkout, can't figure out can change that.
check in both instance git configuration, adding build step with:
git config -l
you might see, in case of machine using ssh, configuration like:
url.ssh://git@github.com/.insteadof https://github.com/
if configuration not present in second machine, explain why https urls still used.
Comments
Post a Comment