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

Can't distinguish between durable task abort and failure in workflow plugin

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      workflow-durable-task-step 2.24

      Description

      When a workflow is manually aborted in Jenkins it fires a hudson.AbortException. This is the same thing that happens when a step fails. Thus, it's impossible to properly set the build status to ABORTED on a manual abort and to FAILED on a failed step because you can't programmatically tell the difference.

      Jesse Glick’s recommended fix: see comment as of 2017-06-28

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dnusbaum Devin Nusbaum
              Reporter:
              jmif Joe Mifsud
              Votes:
              20 Vote for this issue
              Watchers:
              44 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: