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

retry still trying after build has been aborted

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: build-flow-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.609.3
      build-flow-plugin 0.18
    • Similar Issues:

      Description

      Given a structure like this:

      parallel (
      // job 1, 2 and 3 will be scheduled in parallel.
      { retry(3)

      { build("job1") }

      },
      { retry(2)

      { build("job2") }

      }
      )

      If I abord manally the main build, current builds for job1 and job2 will abort, but retry will ... retry to builds these jobs even though everything is aborted.

      There is a 'worstAllowed' parameter, but given that ABORT is the 'worst' Result, I don't think I can catch it without accepting all other failures.

      It feels like upon failure, retry should check the state of the current build before rescheduling a new build.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              corfr Bertrand Roussel
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: