Issue Type: Bug Bug
Affects Versions: current
Assignee: Nicolas De Loof
Components: git, git-client
Created: 27/Nov/13 3:32 AM
Description:

i am trying to clone a git repo from Jenkins, which is failing with below exception(if i try manually it works fine), i am using http protocol(not https) - no proxy server.

stderr: error: Couldn't resolve host 'atlgit-01.us.manh.com' while accessing http://svadlamudi:manh6...@atlgit-01.us.manh.com:7990/scm/rndwmar/te.git/info/refs?service=git-upload-pack fatal: HTTP request failed

repo url:http://svadlam...@atlgit-01.us.manh.com:7990/scm/rndwmar/test.git

I am using GIT plug-in 2.0, Git client plug-in 1.4.6 and Jenkins:1.523

Full stack trace: Cloning the remote Git repository Cloning repository http://cruise_control_u...@atlgit-01.us.manh.com:7990/scm/rndwmar/te.git git --version git version 1.8.3.msysgit.0 ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Could not clone http://cruise_control_u...@atlgit-01.us.manh.com:7990/scm/rndwmar/te.git at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:310) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:828) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1387) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1593) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Caused by: hudson.plugins.git.GitException: Failed to connect to http://cruise_control_u...@atlgit-01.us.manh.com:7990/scm/rndwmar/te.git using credentials (status = 401) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getURLWithCrendentials(CliGitAPIImpl.java:1437) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getURLWithCrendentials(CliGitAPIImpl.java:1379) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:304) ... 10 more

Environment: GIT plug-in 2.0, Git client plug-in 1.4.6 and Jenkins:1.523
Project: Jenkins
Priority: Major Major
Reporter: surendra vadlamudi
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to