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

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

XMLWordPrintable

      (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!

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

              Created:
              Updated: