Skip to content

Auto-retry jobs when they failed due to a known flaky test

From Draft to Ready

What does this MR do and why?

Proof of work

When $CI_AUTO_RETRY_JOBS_WITH_FLAKY_TESTS_ENABLED = true

When the CI/CD job failed due to a known flaky test

When $CI_AUTO_RETRY_JOBS_WITH_FLAKY_TESTS_NOTIFICATIONS_ENABLED = true

Using #499936 as a reference.

Test commit to make the test above fail on purpose.

When $CI_AUTO_RETRY_JOBS_WITH_FLAKY_TESTS_ENABLED = false

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by David Dieulivol

Merge request reports

Loading