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

Mark parallel jobs cancelled by 'failFast' setting as cancelled, not failed

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      (I have no idea if this is the right component)

      We have a pipeline that runs some steps in parallel. Some of these are long running, so we chose to enable 'failFast' (as per here) which works great for cancelling these builds. BUT when a pipeline fails, all of our parallel steps end up marked as failed (Red) making it very difficult to find which step actually failed (we have to navigate into the logs and look for the "Interrupt signal" message to determine if a step genuinely failed or was cancelled by another step failing.

      Is there any way of detected the failure reason in our pipeline and marking the stage as failing for another reason? Or could parallel step be improved to mark steps as cancelled rather than failed?

      Thanks!

        Attachments

          Activity

          Hide
          trane9991 Taras Postument added a comment -

          Yep, I would like to this implemented as well

          Show
          trane9991 Taras Postument added a comment - Yep, I would like to this implemented as well

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            samskiter Sam Duke
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: