Integration

Bitbucket Pipelines + Oobeya

Bitbucket Pipelines is the CI/CD service built into Bitbucket Cloud. Oobeya reads its pipelines and deployments and calculates the four DORA metrics from the pipelines you mark as production.

Data Oobeya reads

Pipelines and deployments from Bitbucket Cloud

  • PipelinesThe pipelines defined in each repository of the connected Bitbucket Cloud workspace.
  • Production deploymentsThe pipeline you select as production is the deployment source for DORA.
  • Commits behind a deploymentLead time is measured from the commit to the production deployment that shipped it.
  • Failure statusA deployment is Success or Failure, set by hotfix patterns, an incident tool, the Deployment API or by hand.

About the tool

What is Bitbucket Pipelines?

Bitbucket Pipelines is the continuous integration and delivery service of Bitbucket Cloud. Builds, tests and deployments are defined in a bitbucket-pipelines.yml file in the repository.

Pipelines live next to the code, so one Bitbucket workspace holds both the commit history and the record of what was deployed.

Oobeya reads both through one Bitbucket Cloud data source and shows the result on the Deployments (DORA) tab of Coding, Review & Delivery.

Why connect it

Why connect Bitbucket Pipelines to Oobeya?

Oobeya measures delivery from the commit to the production deployment, not to the merged pull request. Bitbucket Pipelines provides the deployment end of that measurement, and no change to the pipeline definition is required.

  • How often does each repository deploy to production through Bitbucket Pipelines?
  • How long does a merged change wait before the production pipeline runs?
  • Which production deployments were marked as failed?
  • Which part of lead time is longest: coding, waiting or deployment?
  • Which teams are below the High tier for deployment frequency?

Data coverage

What Oobeya reads from Bitbucket Pipelines

Bitbucket Pipelines dataWhat Oobeya shows
Production pipelineSelected per repository in the CI/CD step of the Git analysis and used as the deployment source.
DeploymentsListed on the Deployments (DORA) tab of Coding, Review & Delivery, each with a Success or Failure status.
Deployment frequencyHow many times per period the production pipeline deployed, with its DORA tier.
Lead time for changesCommit-to-production time, reported as coding time, waiting time and deployment time.
Change failure rate and time to restoreCalculated from deployment health status, which hotfix naming patterns or an incident tool can set automatically.

Metrics

Metrics built on Bitbucket Pipelines data

Bitbucket Pipelines is a Bitbucket Cloud feature. For Bitbucket Server and Data Center, Oobeya reads repositories, and deployments come from another CI/CD tool such as Jenkins.

DORA from one workspace

Commits, pull requests and deployments come from the same Bitbucket Cloud workspace through one data source.

Lead time in three parts

Coding time, waiting time and deployment time are reported separately, so a queue before the production pipeline is measurable.

Hotfix detection

Hotfix naming patterns in branch, pull request and deployment names mark the previous deployment as failed.

Delivery Symptoms

Low deployment frequency, high lead time for changes and high change failure rate appear on the team scorecard when thresholds are passed.

Setup

Bitbucket Pipelines integration setup guide

Bitbucket Pipelines is covered by the Bitbucket Cloud integration. Its data source takes an Atlassian API token with Bitbucket scopes, the Atlassian account email and the workspace. In the Git analysis of a repository, the CI/CD step selects the deployment tool and the pipeline that deploys to production.

For DevOps engineers
The production pipeline is selected once per repository. The pipeline file itself stays unchanged.
For engineering leaders
Deployment frequency, lead time for changes, change failure rate and time to restore service are reported per team with tiers.
For developers
The Deployments (DORA) tab shows how long a commit waited before the production pipeline shipped it.

Common questions

Bitbucket Pipelines integration questions

Need to discuss your team or technical setup? Contact us.

Does Oobeya integrate with Bitbucket Pipelines?

Yes. Oobeya connects to Bitbucket Pipelines and reads pipelines and deployments from Bitbucket Cloud. Bitbucket Pipelines keeps working as it does today; Oobeya only reads from it.

What does Oobeya show from Bitbucket Pipelines data?

Production pipeline: selected per repository in the CI/CD step of the Git analysis and used as the deployment source. Deployments: listed on the Deployments (DORA) tab of Coding, Review & Delivery, each with a Success or Failure status. Deployment frequency: how many times per period the production pipeline deployed, with its DORA tier. Lead time for changes: commit-to-production time, reported as coding time, waiting time and deployment time.

How do we set up the Bitbucket Pipelines integration?

Bitbucket Pipelines is covered by the Bitbucket Cloud integration. Its data source takes an Atlassian API token with Bitbucket scopes, the Atlassian account email and the workspace. In the Git analysis of a repository, the CI/CD step selects the deployment tool and the pipeline that deploys to production.

Can we use Bitbucket Pipelines data in our own tools?

Yes. Once Bitbucket Pipelines is connected, the same data is available through the Oobeya API, and through Oobeya MCP for AI tools such as Claude Code, Cursor, and GitHub Copilot.

Does the Bitbucket Pipelines integration work on-premise?

Oobeya runs in the cloud, on-premise, or in an air-gapped network. The integration needs network access from your Oobeya instance to Bitbucket Pipelines.

See Oobeya in practice

See Bitbucket Pipelines data in Oobeya

A demo shows a Bitbucket Cloud repository with its production pipeline selected and the four DORA metrics calculated from it.