-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Jenkins on Windows Server 2008 through Tomcat8
Git on Windows Server 2008 through Apache
Hello,
I'm currently trying to set up the git plugin to work with a git server based on windows behind an apache for authentification.
To test I have a git repo called "C-Sharp" that does not need any authentification (Allow from All in apache).
If I run git clone on a Windows-Batch build step it works properly.
However, the Git Plugin itself always says it fails to authenticate (403).
Building in workspace E:\data\jenkins\jobs\Git_Test\workspace
Cloning the remote Git repository
Cloning repository http://localhost:8001/git/C-Sharp.git
Fetching upstream changes from http://localhost:8001/git/C-Sharp.git
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Failed to connect to http://localhost:8001/git/C-Sharp.git (status = 403)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkCredentials(CliGitAPIImpl.java:1602)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:957)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:71)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:197)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:329)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:839)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:872)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1412)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)
at hudson.model.Run.execute(Run.java:1679)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:230)
ERROR: null
Finished: FAILURE