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

git2: http+userpwd credentials fail on subsequent builds

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      git-client 1.4.0
      git-plugin 2.0-beta-3
    • Similar Issues:

      Description

      Testing with http repository + user/password credentials, a build on a blank workspace works, but a build on existing repository fails with

      Caused by: hudson.plugins.git.GitException: Failed to connect to http://my-git-repo-url
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getURLWithCrendentials(CliGitAPIImpl.java:1343)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:154)
      at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)

      If this can help, this git repository has restricted access, so reaching it without any authentication will fail.

        Attachments

          Activity

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              vlatombe Vincent Latombe
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: