Currently if you wish to know from a Workflow build which upstream build(s) triggered this one, you must resort to Jenkins model APIs. RunWrapper should rather have @Whitelisted public List<RunWrapper> getUpstreamBuilds() wrapping UpstreamCause.

          [JENKINS-31576] Sandboxed access to upstream build information

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-33577 [ JENKINS-33577 ]
          Jesse Glick made changes -
          Epic Link New: JENKINS-35391 [ 171184 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167001 ] New: JNJira + In-Review [ 182546 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Component/s New: workflow-support-plugin [ 21719 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-41272 [ JENKINS-41272 ]
          Andrew Bayer made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Andrew Bayer [ abayer ]
          Andrew Bayer made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            abayer Andrew Bayer
            jglick Jesse Glick
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: