Description of the feature request
Give the opportunity to the user to choose an attempt count to a step so that if the step fails it can be re-tried up-to this maximum.
This is especially useful for specific tasks, like tasks that rely on 3rd-party platforms that cannot ensure 100% reliability.
Use case / for what or how I would use it
Initial request: Stability issues · Issue #39 · bitrise-steplib/steps-virtual-device-testing-for-android · GitHub
When using Virtual-Device-Testing for Android we’ve noticed that sometimes the 3rd-party platform that provides Android devices doesn’t work as expected. Google is working on it, but Bitrise should be able to provide a mechanism to avoid this kind of issues to block builds.
As an alternative, maybe just consider a way to mark the build as Ignored instead of Failed?
(Something to distinguish builds that didn’t run as expected due to the step itself, from builds that have run as expected but the result is failing due to broken tests for example.)