From Bitrise on 2016/03/16 10:05:49 +0000
In general you can use "run_if" to only run a Step based on the build's status: https://github.com/bitrise-io/bitrise/blob/master/_examples/experimentals/templates/bitrise.yml#L80
E.g. if you want to run a step only if the build failed: run_if: .IsBuildFailed
, or if you want to only run it if the build was successful (which is the default unless is_always_run: true
is set, so you don't even need a run_if): run_if: not .IsBuildFailed
OR is_always_run: false