Feature to stop/fail a build forcefully based on certain condition

Description of the feature request

Need a feature to fail the build when some condition is fulfilled in shell script step, maybe via bitrise CLI i.e using $BITRISE_BUILD_STATUS variable or some other variable.

Use case / for what or how I would use it

This is required in CI system integration where you can check the apk sizes between different builds created on various PR. Ex. You have bitrise as CI server and you want a check on build sizes between different PRs say every PR can increment a size max upto 250KB.
This can also be used in CD system setup in similar way.

Hi @gauravdalal, thank you so much for your feature request! :smile: Please make sure to place a vote on it as well to get the ball rolling.