-
Suggestion
-
Resolution: Unresolved
-
None
Problem Definition
Bitbucket Pipelines allows users to configure a step to be retried on failure, with a config like the following:
on-fail: strategy: retry maxRetryCount: 3
If a step configured with this strategy fails and it is retried, users can only see the log of the last retry.
Some users would like to be able to see the logs of all retries for debugging purposes. One such example that has been provided is the following:
For context, on the last failed retry I tear down an ephemeral Kubernetes cluster where the testing is occurring. This different behavior on the last step, combined with the inability to see the logs from previous steps, means I can't debug that flaky behavior.
Suggested Solution
Allow users to view logs from all step retries.