[JIRA] (JENKINS-38194) Ampersand in Git password causes authentication failure

2017-01-17 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Fixed in git client plugin 2.2.1 16 Jan 2016  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-38194  
 
 
  Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2017-01-16 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 If you'd like to test a prototype build, for a short time it will be available from the ci.jenkins.io server. Upload it manually, restart your Jenkins server, and see if it helps in your case.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2017-01-14 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 Code changed in jenkins User: Mark Waite Path: src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java src/test/java/org/jenkinsci/plugins/gitclient/CliGitAPIImplAuthTest.java http://jenkins-ci.org/commit/git-client-plugin/f7b7cb995f5aaf22dcc49ccc48b980e5d1ce7ecc Log: Test JENKINS-40116, JENKINS-38194, JENKINS-38179 & JENKINS-38138 Confirm that characters which Windows requires be escaped in a batch file can be used as characters in a git password (as used through https with a username / password combination).  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-16 Thread m.ree...@prospects.ac.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Reeves commented on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 slave is Windows server 2012 (as stated in 'environment' and as is JENKINS-38179). Not tried on Linux but the issue is clearly due to something not escaping windows environment variables so I can't see it affecting Linux slaves.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-15 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 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?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread m.ree...@prospects.ac.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Reeves commented on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 Pretty certain the "^" would have broken it, which means this is effectively a duplicate of yours. Under certain circumstances (Delayed Expansion has been enabled in the command session) '!' will also have the same issue  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread cole.mietz...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cole Mietzner commented on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 Mark Reeves, you might be right with this being a similar issue that I was having in JENKINS-38179, I dont have a "&" character in my password but I do have a ")" and a "^".  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread m.ree...@prospects.ac.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Reeves edited a comment on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 username/password yes . , using http not https (internal stash server)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread m.ree...@prospects.ac.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Reeves commented on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 username/password yes.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-38194  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
 Mark Reeves are you using a username / password (as used with https based git repository access) where the the password contains the "&" character, or are you using a private key protected by a passphrase where the passphrase contains the "&" character (as used for ssh and scp based git repository access)?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread m.ree...@prospects.ac.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Reeves updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38194  
 
 
  Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
Change By: 
 Mark Reeves  
 

  
 
 
 
 

 
 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)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread m.ree...@prospects.ac.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Reeves updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38194  
 
 
  Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
Change By: 
 Mark Reeves  
 

  
 
 
 
 

 
 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  they  then  will break)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread m.ree...@prospects.ac.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Reeves updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38194  
 
 
  Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
Change By: 
 Mark Reeves  
 

  
 
 
 
 

 
 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 ^&  work  works  round the issue (but if the same credentials are used elsewhere they will break)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38194) Ampersand in Git password causes authentication failure

2016-09-14 Thread m.ree...@prospects.ac.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Reeves created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38194  
 
 
  Ampersand in Git password causes authentication failure   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Mark Waite  
 
 
Components: 
 git-client-plugin  
 
 
Created: 
 2016/Sep/14 10:23 AM  
 
 
Environment: 
 Windows server 2012 R2  git-client-plugin 2.0.0  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Mark Reeves  
 

  
 
 
 
 

 
 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 ^& work round the issue (but if the same credentials are used elsewhere they will break)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment