Skip to main content
All CollectionsKnowledge BaseGeneral issues
Keeping a build running after a Step fails
Keeping a build running after a Step fails
Updated over a week ago

Issue:

Every time a Step fails, the entire build fails as well. However, certain Steps aren't crucial to the build so they should be considered skippable.

Possible solutions:

The easiest way is to add the is_skippable option to the Step or Steps in question and set it to true.

To do this, you need to go to yml mode. You can either:

- Go to the bitrise.yml tab on the Workflow Editor and edit the Step there.

- Download the bitrise.yml file, edit it in your editor of choice and upload it again.

In the bitrise.yml file, find the Workflow you need and within the Workflow, the Step you want to mark as skippable. Add is_skippable: true to it. Here's an example of a Script Step:

- script:
    is_skippable: true
    inputs:
    - content: |-
        #!/bin/bash
        echo "Failing Step."
        exit 1
        # exit 1 would mark this step as Failed, but it won't break the Build
        #  because of the is_skippable: true flag / property

Additional information

Did this answer your question?