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

Sandboxed access to upstream build information

    XMLWordPrintable

    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

            Show
            abayer Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/workflow-support-plugin/pull/49
            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.
            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: