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
[JENKINS-40652] origin pr builds not treated as trusted - fix for regression in org repos origin PRs #134
Conversation
…fix for private repos origin PRs
I am experiencing the same thing. 👍 |
I'm also experiencing this problem and am manually starting builds. So looking forward to this merge and the resulting version. |
also experiencing this problem. Jenkins ver. 2.46.3 PR events from forks trigger builds correctly, but not from origin. We get the "not from a trusted source" error for PRs from origin branches. |
Has there been any movement on getting this reviewed and merged in? We're currently experiencing this as a company and I'd rather not start adding custom built plugins to our Jenkins instance. |
I think both this and #109 should be closed in favor of something like #96, which uses the official API now that one exists, rather than the flaky tricks originally necessary. But first @stephenc was going to refactor the UI so that an administrator can select the most appropriate algorithm for a given organization folder. Until that refactoring lands there is little point in new PRs in this repository. |
All changes here are pending big PRs coming shortly from @stephenc. |
Should be fixed by JENKINS-43507 changes or in the worst case by the changes in 2.2.2 of the GHBS plugin |
Hi @stephenc, I saw your name a lot in the past hour, so may I ask you what the status of this issue is? I can't figure out which ticket/PR is telling the truth. Some were merged in January, some are rejected, some are in progress and some others are waiting for other PRs. Is there any chance a layman can understand when this feature will work? |
@nicbou it all depends on what you mean by work...
|
Thanks a lot for the detailed answer. We are shamefully lagging behind in terms of Jenkins updates, and I didn't want to change anything before understanding what fixes what. In my case, an origin PR from an admin (me) failed, even when I also added myself as a contributor. I am not the owner, but I have full access to the repo as a member of my organization. If I understand correctly,
Again, thanks for the detailed answer! |
JENKINS-40652 is still broken, steps to replicate:
Faulty line is here. When scan credentials are valid collaboratorNames is set to actual collaborators and it does not contain 'myOrg'