-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User
used instead of Username
for the Bitbucket Server authentication
#1373
Conversation
Thanks for the PR, I am curious as I am pretty sure it used to work, I am wondering if I introduced that regression |
@naimo84 Could you confirm you are also affected by this issue? |
@dcoraboeuf thanks for your PR, after a quick look at the code it seems you are right \
|
This means that Gitlab and Gitea are both wrong :D |
I find the user vs username quite confusing and I must admit I am often wrong. |
Easy to be confused by that. If I understood the code correctly though, |
Yes that's exactly that |
This PR is a bug fix that introduce a breaking change, I would like to do the same for the Gitlab and Gitea resource with a big warning for the next release |
+1: this PR should only be merged with a warning message. |
I've been wondering if it was possible but I think it will be even more confusing |
After looking at the code, this won't be a "breaking" change because we currently have to specify both At the moment
and
After this change, |
When using the Bitbucket Server (Stash) plugin:
this fails with "authentication required".
By specifying both
username
anduser
, the SCM can be cloned. This PR will fix this.