-
Notifications
You must be signed in to change notification settings - Fork 0
remove the caching and use GithubAppCredentials from github source br… #1
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm approving but before we try to put up a PR to merge this into the source repo, IMO we should:
- Create an update in the changelog
- Create additional details in the readme for usage
- Construct a more detailed PR description with things like: why we did this change, how we did this change, what problems this change solves and any details about deploying/building (such as the errors you mentioned initially).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great!
…repo data.. should still get auth again though
Hope you're all doing well. I've been having some issues setting up authentication with a GitHub App with Jenkins and I think this pull request might resolve my issues. I was wondering, are you going to open a pull request with these changes back into jenkinsci/ghprb-plugin? |
I think the goal is to definitely push this back up to jenkinsci/ghprb-plugin however we've not been able to do so recently due to time mostly. |
PR opened against parent repo: jenkinsci#837 |
Tldr; This allows GHPRB to constantly pull updated credentials and also gives the option to use GithubAppCredentials from github source branch which handles rotating the app installation token every hour.
Why:
Other interest we found:
jenkinsci#812
jenkinsci#813
How:
Benefits:
**
Right now on "mvn install" this fails with spotbugs plugin but packages fine with "mvn package"
Failure starts with:
It was also failing on 2 unit tests originally bc my changes broke what the test was expecting but can't replicate that presently, so I'll leave the tests as long as those don't show up again.