Bitbucket
Cypress Cloud can integrate your Cypress tests with your Bitbucket workflow via status checks and pull request comments. A project first needs to be set up to record to Cypress Cloud to use Bitbucket integration.

Bitbucket Integration depends on your CI environment reliably providing a commit SHA (typically via an environment variable). Providing a commit SHA is not a problem for most users, but if you are facing Bitbucket integration issues with your CI setup, make sure your CI sends the git information properly by following the Git information guidelines. If you still face issues after this, contact us.
Installing the Bitbucket integration​
Bitbucket OAuth2 applications allow Cypress Cloud to authenticate as the user that registered the application. Authenticating as that user means Cypress has visibility to every Bitbucket repo you can access. If you want tighter control over the repos that Cypress sees, consider creating a service account with more limited access in Bitbucket.
- Visit Integrations in Cypress Cloud.
- Click Install Bitbucket Integration.
- (For beta only) You need to enable Bitbucket's development mode for your user account to continue.
- Continue through the Bitbucket OAuth installation flow in the popup window.
- Once installed, connect your projects to a Bitbucket repo.
- (Optional) Configure the behavior for each project.
Configuring the Bitbucket integration​
Status checks​
By default, Cypress posts a cypress/run commit status containing the results of the Cypress run. The cypress/run status prevents your team from merging any PRs with failing Cypress tests.
Additionally, Cypress can post a cypress/flake commit status indicating whether the Cypress run contained any flaky tests. The cypress/flake status prevents your team from merging any PRs with flaky tests.
You can manage this behavior on your project's Project Settings page.
Pull Request comments​
By default, Cypress posts a PR comment summarizing the run when the run completes. The comment includes test results, run info, and a summary of tests that failed or were flaky.
You can manage this behavior on your project's Project Settings page.
Don't rely on artifact representations or reproducing failing conditions locally. Replay the test as it executed during the recorded run with full debug capability using Test Replay.
Uninstalling the Bitbucket integration​
You can remove this integration by visiting the Integrations → Bitbucket page of your organization. Removing the integration stops all status checks and PR comments from Cypress.