Skip to main content

Skipping Steps


You can configure Steps in your Bitrise builds so that they don't run if the previous Step in the Workflow failed. This can help with avoiding wasting build time and credits.

You can skip certain Steps in your Bitrise build. There is no point in running, for example, a unit test Step if the previous Step failed to build your app.

Of course, there are examples when it’s better to run a Step even if the previous Step failed. For example, if the Cache:Pull Step fails, there is no reason not to run the next Step - in fact, if the next Step is one that installs dependencies then it’s a very bad idea to skip that Step if pulling the cache is unsuccessful.

Run if previous step failed

Enabling a Step conditionally

You can also configure Steps to run only in certain conditions: Enabling or disabling a Step conditionally.

To set a given Step to be skipped if the previous Step failed:

  1. Open your app on Bitrise.

  2. Click the Workflows button on the main page.

  3. On the Workflows & Pipelines page, find the Workflow you need and click into its row to open the Workflow Editor.

  4. Select the Step you want to skip.

  5. On the right, use the toggle to disable the Run if previous Step failed option.