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

Record cause of interruption in DurableTaskStep

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      DurableTaskStep.Execution should set AbortException.cause to a FlowInterruptedException after successful stop. Would allow us to keep track of whether a particular sh step ended because a user aborted the build, or a timeout was exceeded, or because the process decided to exit on its own. catch blocks could process this information.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              jglick Jesse Glick
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: