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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • workflow-durable-task-step 2.24

      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.

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

            Assignee:
            Devin Nusbaum
            Reporter:
            Joe Mifsud
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: