-
Notifications
You must be signed in to change notification settings - Fork 22
Description
We have "Number of retries if task failed" option for all the azure devops tasks to re-run the task if it fails.
Actual: In case of Trigger Build task, when we provide the retry count and if the task fails, it triggers the retry count number of executions at the same time (e.g. 3 retry count then three builds) and proceed without waiting for results (even if we have option selected as Wait for completion).
Expected: In case of task failure, it should trigger another run and wait for the result until it reaches max retries.
Error Logs:
2023-03-28T10:09:19.6503322Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 1 out of 2) after 1000 ms
2023-03-28T10:09:23.2508135Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 2 out of 2) after 4000 ms
Note: Build still got triggered twice at that same time (4 sec apart) but it did not wait for those to complete.