Is there a was to retry pipeline only for those errors except "Test Case Failures". I don't want to retry for test case failures, for other failures retry it.
Is there a method provided by bitbucket to do this? or i have to write a script?
on-fail:
strategy: retry
maxRetryCount: 2
Hi shashank_pandey,
The documentation below describes the capability of step failure strategies:
Unfortunately, it is limited in that it will consider any and all failures as part of the logic - it does not allow for customisation to consider only certain types of failures.
Therefore, you would need to write a script in this instance.
Cheers!
- Ben (Bitbucket Cloud Support)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.