We're excited to announce Flaky Test Detection in Bitbucket Pipelines! Here's what lead engineering manager Rajkumar Singh has to say:
Flaky tests erode trust in your pipeline, waste CI minutes, and slow down deployments. What if your CI could spot and silence them automatically?
In January, we launched Tests in Bitbucket Pipelines — a new way to track, organize, and understand test health right where your builds run. For the first time, teams could see test results in Bitbucket over time, drill into failures, and quarantine noisy tests — all within their repo.
This has brought great visibility and transformed how teams manage and improve test quality, but manually triaging flaky tests across thousands of cases doesn’t scale. So we took it to the next level:
Bitbucket now automatically detects flaky tests and can auto-quarantine them for you.
Read the full story on the blog: Ship Faster with Signal, Not Noise: Introducing Automatic Flaky Test Detection in Bitbucket Tests.
No extra scripts, plugins, or dashboards. Just run your pipelines as usual, and Bitbucket does the rest:
Flaky tests are flagged automatically: Bitbucket analyzes your test history and highlights unstable tests right in the Tests tab.
Builds stay clean: Optionally enable auto-quarantine so the noisiest tests stop blocking your team while you fix them on your schedule.
You stay in control: Override any test's status or quarantine setting with a click.
The result? Less time spent triaging flaky tests, so teams can focus on building instead of firefighting.
New to Bitbucket Tests? Get started with the blog: [Open beta] Introducing Tests in Bitbucket Pipelines - Work Life by Atlassian.
If you're on a Standard or Premium plan and already using Pipelines:
Run your pipelines as usual.
Open the Tests tab in your repo — you'll see a Flaky score column and tests automatically flagged as flaky or quarantined.
Fine-tune detection and auto-quarantine in Repository settings → Tests → Detection settings.
Docs:
Understand and manage flaky tests in Bitbucket Pipelines | Bitbucket Cloud | Atlassian Support
Quarantining flaky tests | Bitbucket Cloud | Atlassian Support
Automatic flaky test detection and quarantining is now live as part of our Tests feature (currently in public beta). Your feedback is key to shaping what comes next, leave a comment below or use the in-product feedback button in Bitbucket.
Dan Hom
0 comments