-
Bug
-
Resolution: Fixed
-
Critical
-
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.