• Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • workflow-job-plugin
    • None

      It'd be handy for WorkflowRun to have getCulprits() like AbstractBuild. It'd be almost the exact same logic - admittedly, it'd potentially apply across a lot more repos than your normal Freestyle build, but I don't see that as a problem. This would enable a lot of functionality in email-ext, the mail step, etc...

          [JENKINS-37872] WorkflowRun should have getCulprits()

          Andrew Bayer added a comment -

          Current work I'm doing has no tracking of upstream culprits, but I may add that back (as a JobProperty). May also add a JobProperty for excluding any checkouts but the one the Jenkinsfile comes from, but haven't decided yet.

          Andrew Bayer added a comment - Current work I'm doing has no tracking of upstream culprits, but I may add that back (as a JobProperty ). May also add a JobProperty for excluding any checkouts but the one the Jenkinsfile comes from, but haven't decided yet.

          Andrew Bayer added a comment -

          Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/workflow-job-plugin/pull/19

          Jesse Glick added a comment -

          Already covered by JENKINS-24141.

          Jesse Glick added a comment - Already covered by JENKINS-24141 .

            abayer Andrew Bayer
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: