Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50290

origin pr builds not treated as trusted

    Details

    • Similar Issues:

      Description

      When building PRs from origin (not forks), their Jenkinsfile is not treated as trusted and loaded from the base branch instead:

      Loading trusted files from base branch develop at 3ad383ee0eeffc92c9712dc8e3022c4b43a75c94 rather than 3e2b6e35cbf0fd2d4c029fcd23560f04b1976618

       

      The problem was fixed in JENKINS-40652 but after several "refactorings" the problem seems to have reoccurred.

        Attachments

          Issue Links

            Activity

            Hide
            reki René Kießig added a comment -

            Any updates on this issue?

            Show
            reki René Kießig added a comment - Any updates on this issue?
            Hide
            famod Falko Modler added a comment - - edited

            This is pretty much a blocker for us.

            If someone (Stephen Connolly ?) could point me in the right direction I'd take a stab at this. I am lost somewhere between BitbucketSCMSource.getTrustedRevision(SCMRevision, TaskListener) and OriginChangeRequestSCMHeadAuthority.checkTrusted(SCMSourceRequest, ChangeRequestSCMHead2)...

            Show
            famod Falko Modler added a comment - - edited This is pretty much a blocker for us. If someone ( Stephen Connolly ?) could point me in the right direction I'd take a stab at this. I am lost somewhere between BitbucketSCMSource.getTrustedRevision(SCMRevision, TaskListener) and OriginChangeRequestSCMHeadAuthority.checkTrusted(SCMSourceRequest, ChangeRequestSCMHead2) ...
            Hide
            ai_ja_nai Alberto Massidda added a comment -

            Guys, any news on this?

            Show
            ai_ja_nai Alberto Massidda added a comment - Guys, any news on this?

              People

              • Assignee:
                Unassigned
                Reporter:
                szevez John Szivós
              • Votes:
                4 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: