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

Record cause of interruption in DurableTaskStep

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Duplicate
    • pipeline
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: