-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Git plugin 3.0.1
Git client plugin 2.2.0
If I embed my username and personal access token into a Visual Studio Online URL, GitHub URL, or BitBucket URL, I can clone that URL from command line git on my Ubuntu Linux computer, whether logged in as myself or as an entirely different user.
If I use the same URL in a Jenkins job, without specifying any other credentials, the clone fails in the Jenkins job with authorization denied. It also fails with JGit, though the error message is that authentication was not provided.
Work around: If I create a credential with that same user name and personal access token, and use that credential in a job which does not include the username or password in the URL, the clone succeeds.
- is duplicated by
-
JENKINS-55781 When selecting Git in Source Code Management and updating http://user:password@bitbucket.com/.git. It gives an authentication error.
- Closed
- is related to
-
JENKINS-56257 Git clone/fetch filtering user:password from git https://user:pwd@path-2-git
- Closed