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

git2: http+userpwd credentials fail on subsequent builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • git-plugin
    • None
    • git-client 1.4.0
      git-plugin 2.0-beta-3

      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.

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

              Created:
              Updated:
              Resolved: