git2: http+userpwd credentials fail on subsequent builds

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Nicolas De Loof
            Reporter:
            Vincent Latombe
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: