[JIRA] [git-client-plugin] (JENKINS-31212) git clone failed when using https auth
Title: Message Title Mark Waite assigned an issue to Unassigned Jenkins / JENKINS-31212 git clone failed when using https auth Change By: Mark Waite Assignee: Nicolas De Loof Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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/d/optout.
[JIRA] [git-client-plugin] (JENKINS-31212) git clone failed when using https auth
Title: Message Title sam sun created an issue Jenkins / JENKINS-31212 git clone failed when using https auth Issue Type: Bug Assignee: Nicolas De Loof Components: git-client-plugin Created: 28/Oct/15 8:35 AM Labels: plugin git Priority: Minor Reporter: sam sun I can use "https://root:123...@gitlab.asdfsx.cn/root/helloworld.git" to clone my project. But when I use it in jenkins, it fails. And I got the exception below. U can see in log after "Fetching upstream", the password is missing Cloning the remote Git repository Cloning repository https://root:123...@gitlab.asdfsx.cn/root/helloworld.git > git init /jenkins/workspace/git # timeout=10 Fetching upstream changes from https://r...@gitlab.ptengine.cn/root/helloworld.git > git --version # timeout=10 > git -c core.askpass=true fetch --tags --progress https://r...@gitlab.ptengine.cn/root/helloworld.git +refs/heads/:refs/remotes/origin/ ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress https://r...@gitlab.ptengine.cn/root/helloworld.git +refs/heads/:refs/remotes/origin/" returned status code 128: stdout: stderr: fatal: Authentication failed for 'https://r...@gitlab.ptengine.cn/root/helloworld.git/' at