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.

          [JENKINS-50290] origin pr builds not treated as trusted

          John Szivós created issue -
          John Szivós made changes -
          Link New: This issue blocks JENKINS-40652 [ JENKINS-40652 ]
          John Szivós made changes -
          Link Original: This issue blocks JENKINS-40652 [ JENKINS-40652 ]
          John Szivós made changes -
          Link New: This issue is related to JENKINS-40652 [ JENKINS-40652 ]
          Andrew Bayer made changes -
          Labels Original: jenkins plugin New: jenkins plugin triaged-2018-11
          Victor Ruiz made changes -
          Attachment New: image.png [ 52231 ]
          Nikolas Falco made changes -
          Assignee New: Nikolas Falco [ nfalco ]
          Nikolas Falco made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            nfalco Nikolas Falco
            szevez John Szivós
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: