Skip to content

ignore_fail

Boolean indicating if the failure of a step should cause the pipeline to fail or not. Normally, any failed step will propagate the failure to the pipeline.

ignore_fail: boolean

Ignore fail defaults to False but can be set to True to ignore failure in a step. Enabling this option enables the pipeline to continue irrespective of a failing step. This can be especially useful if a step is expected to fail.

Individual step pass/fail can still be referenced as the pipeline continues.

Consider the following example:

steps:
  - name: Happy_Step
    params: "Happy Step"
  - name: Fail_but_keep_going
    action: force_fail
    ignore_fail: True
  - name: After_Fail
    params: "Failure is not an option"

This pipeline will show that it ran successfully even though the second step failed.

The second step pass result returns “False” using the following context reference:

"{{ steps.Fail_by_keep_going.pass }}"