Skip to content
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

Fix credentials bugs as noted in jenkinsci/ghprb-plugin#117 #123

Merged
merged 1 commit into from
Jun 29, 2015

Conversation

ixdy
Copy link
Contributor

@ixdy ixdy commented Jun 26, 2015

  • Actually use the new path generated as a fix in
    Work for fixing credentials issues #122
  • Use URIRequirementBuilder instead of manually building a requirements
    list
  • Add logging around accessing credentials to debug failures, and give
    better error messages when something is wrong
  • General refactoring of a few methods to reduce code duplication

I've tested this on my Jenkins instance, and it seems to fix the issues I addressed, as well as providing helpful debugging messages in the logs.

It seems that anonymous requests are still occasionally being used; I'm not sure if the github-api library is occasionally falling back on failures.

Fully fixes #117.

- Actually use the new path generated as a fix in
  jenkinsci#122
- Use URIRequirementBuilder instead of manually building a requirements
  list
- Add logging around accessing credentials to debug failures, and give
  better error messages when something is wrong
- General refactoring of a few methods to reduce code duplication
@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@DavidTanner
Copy link
Contributor

I will check this out tomorrow night, and see if i can release it then

@arcivanov
Copy link
Contributor

Could you please take a look at this ASAP? Half of GHPRB isn't working because of this problem when OAuth credentials are used.

DavidTanner added a commit that referenced this pull request Jun 29, 2015
@DavidTanner DavidTanner merged commit 176a609 into jenkinsci:master Jun 29, 2015
@arcivanov
Copy link
Contributor

could you cut a release as well?

@DavidTanner
Copy link
Contributor

released as 1.24.4

@arcivanov
Copy link
Contributor

Thanks so much, you're awesome!

nosmo pushed a commit to nosmo/ghprb-plugin that referenced this pull request Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub authentication failures updating statuses after upgrading to 1.24
4 participants