Support strategy: ignore with fail-fast: true

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 11

      Problem Definition

      • on-fail : A step that fails using the ignore strategy will not cause the overall pipeline to fail.
      • fail-fast : option in Bitbucket Pipelines, which will immediately stop all running parallel steps as soon as any step fails.

      The combination of 2 is causing un-expected behaviour in pipeline.

      Error :

      Fail-fast is not supported with failure strategies other than 'fail'.

      Step to re-produce:

      pipelines:
        default:
          - parallel:
              fail-fast: true
              steps:
                - step: 
                   on-fail:
                      strategy: ignore
                   script:
                      - echo "test"
      

      Run the above pipeline and it will throw the error since combination of on-fail with fast-fail is not supported.

      Suggested Solution

              Assignee:
              Unassigned
              Reporter:
              Ankit Anway (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: