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

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

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

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

              Created:
              Updated:
              Resolved: