![]() |
|
|
|
|
Change By:
|
Mark Waite
(06/Sep/14 4:29 PM)
|
|
Summary:
|
Java authentication dialog pop-up appears from JNLP slave if bitbucket username
Username
/password
attempted
rejected by https access to private bitbucket repo
|
|
Description:
|
I created a private bitbucket git repository and tried to clone it to each of my Jenkins slave agents using a username/password credential for my bitbucket account.
The job definition page reports that the repository access is denied.
If the same job definition, Git url, and credentials are used, but the bitbucket repository is public, then access is allowed and the repository can be cloned and changes can be pushed back to it.
When the job ran
with the private repository
, the slave machines running JNLP popped up a Java authentication dialog asking for the user name and password for bitbucket.org. JNLP agents should not prompt for username and password, and the git-client-plugin should use my valid username and password as entered instead of prompting for authentication.
Steps I took to show the problem:
# Define a domain specific credential for bitbucket.org # Define a credential in that domain for my username and password # Define a job which runs on all my slave agents (I used the elastic-axis plugin to make that easier) # Use git as the source repository for that job # Use my bitbucket repository and credentials for that job (I used https://bitbucket.org/markewaite/git-client-plugin.git) # Run the job, and watch the consoles of those slave computers using JNLP
So long as the repository is public, the https access method works for read and for write. If the repository is private, the https access method no longer works.
|
|
|
|
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.