Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: git-client-plugin
-
Labels:None
-
Environment:Windows server 2012 R2
git-client-plugin 2.0.0
-
Similar Issues:
Description
Git client plugin 2.0.0 seems to have swapped from using .gitcredentials to GIT_ASKPASS and when I have an & character in my password the authentications fails. 1.21.0 was fine (and reverting to that version swaps back to using .gitcredentials)
Escaping the & in the password stored in the credentials by using ^& works round the issue (but if the same credentials are used elsewhere then they will break)
Attachments
Issue Links
- is duplicated by
-
JENKINS-40166 Passwords not quoted correctly in Windows
-
- Closed
-
- is related to
-
JENKINS-38138 Git plugin over HTTP with TFS 2015 causes authorization error
-
- Closed
-
-
JENKINS-38179 Authentication Error with GIT Client version 2.0.0
-
- Closed
-
I just created an account on visualstudio.com with a password which contains a "^" and an "&" character and was able to checkout on my Docker instance from a repository using that user name and password.
Is your agent (slave) which is failing the checkout a Windows machine?
Does the same failure happen with a Linux machine?