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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.