Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-client-plugin
Created: 25/Mar/15 9:35 PM
Description:

When the git config file has url settings such as:

[url "ssh://[email protected]:7999"]
insteadOf = https://myserver.com:8443/scm

git submodule update still attempts to clone from the https url. I'm using this to try to override the remote URL for specific submodules.

Here's the error message:

Cloning into 'folder/modulename'...
fatal: Authentication failed for 'https://myserver.com:8443/scm/proj/project.git/'
Clone of 'https://myserver.com:8443/scm/proj/project.git/' into submodule path 'folder/modulename' failed

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:86)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$6.execute(CliGitAPIImpl.java:893)
at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:83)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1047)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
at hudson.model.Run.execute(Run.java:1751)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Environment: Jenkins: 1.605 on Windows
git-client-plugin: 1.16.1
Project: Jenkins
Priority: Minor Minor
Reporter: Chad Killingsworth
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to