-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
-
CentOS: 6.5
git: 1.7.1
Jenkins: 1.532.3
Git Plugin: 2.2.1
Git Client Plugin: 1.8.0
No proxy
https connection with self-signed cert
When using git via CLI, "git ls-remote -h https://git.abc.com/git/repos/abc.git HEAD" on the jenkins server it works with no issue but when adding the repository in the project configuration, we see the following:
Failed to connect to repository : Command "ls-remote -h https://git.abc.com/git/repos/abc.git HEAD" returned status code 128:
stdout:
stderr: error: while accessing https://git.abc.com/git/repos/abc.git/info/refs
fatal: HTTP request failed
- is related to
-
JENKINS-20200 support self-signed certificate
-
- Closed
-
-
JENKINS-22675 Jenkins GIT Plugin unable to access repository using HTTPS with self-signed certificate
-
- Closed
-
-
JENKINS-21887 Check git version before attempting to use credential.helper
-
- Closed
-
Were you using credentials through your self-signed https URL?
The git credentials helper is not available until git version 1.7.10, and you're using git version 1.7.1. It seems like you would also have been aided in your diagnostics by the enhancement proposed in
JENKINS-21887.I think this is "not a bug" because the git-client-plugin needs at least git version 1.7.10 for credentials support.