Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22682

git "HTTP request failed" in Jenkins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker 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

            ndeloof Nicolas De Loof
            everard_brown Everard Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: