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

Sandboxed access to upstream build information

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-33577 [ JENKINS-33577 ]
            jglick Jesse Glick made changes -
            Epic Link JENKINS-35391 [ 171184 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 167001 ] JNJira + In-Review [ 182546 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            jglick Jesse Glick made changes -
            Component/s workflow-support-plugin [ 21719 ]
            Component/s pipeline [ 21692 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-41272 [ JENKINS-41272 ]
            abayer Andrew Bayer made changes -
            Assignee Jesse Glick [ jglick ] Andrew Bayer [ abayer ]
            abayer Andrew Bayer made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Show
            abayer Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/workflow-support-plugin/pull/49
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "PR #49 (Web Link)" [ 19422 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.java
            src/test/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapperTest.java
            http://jenkins-ci.org/commit/workflow-support-plugin/f0b548c043256a7f385ea6188da924e87c0893ef
            Log:
            [FIXED JENKINS-31576] Add currentBuild.upstreamBuilds

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pom.xml src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.java src/test/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapperTest.java http://jenkins-ci.org/commit/workflow-support-plugin/f0b548c043256a7f385ea6188da924e87c0893ef Log: [FIXED JENKINS-31576] Add currentBuild.upstreamBuilds
            Hide
            abayer Andrew Bayer added a comment -

            Will be available in workflow-support 2.17.

            Show
            abayer Andrew Bayer added a comment - Will be available in workflow-support 2.17.
            abayer Andrew Bayer made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.java
            src/test/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapperTest.java
            http://jenkins-ci.org/commit/workflow-support-plugin/da2ca8184575607dedd217730bb3945e35d94101
            Log:
            Merge pull request #49 from abayer/jenkins-31576

            [FIXED JENKINS-31576] Add currentBuild.upstreamBuilds

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pom.xml src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.java src/test/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapperTest.java http://jenkins-ci.org/commit/workflow-support-plugin/da2ca8184575607dedd217730bb3945e35d94101 Log: Merge pull request #49 from abayer/jenkins-31576 [FIXED JENKINS-31576] Add currentBuild.upstreamBuilds

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: