Bitbucket Pipelines

Build, test and deploy from Bitbucket

Get started for free

Instant set up

Flip a switch and start building. It's that easy to enable Bitbucket Pipelines. No extra integration steps to connect the repository with your CI tool, no time wasted managing other accounts or setting up build agents.

Unified Experience

Stop jumping between applications! Manage your entire development workflow within Bitbucket, from code to deployment. Select your repository, turn on the Pipelines and you are good to go. No need for a separate tool.

Self-service for teams

Configuration as code enables developers to manage their own continuous delivery workflows. Configure Bitbucket Pipelines by adding a simple bitbucket-pipelines.yml file to the root of your repository. 

Fast feedback loops

Bitbucket Pipelines shows build statuses automatically everywhere you care about them - on branches, commits and pull requests. A quick glance at a pull request and you know if it's ready to be reviewed, merged or if it needs more work. Stay informed without context switching!

They love Bitbucket Pipelines already
Find more

Continuous delivery in the cloud

Get a unified space to code, build and deploy

Map the branch structure

Pipelines can be aligned with the branch structure, making it easier to work with branching workflows like feature branching or git-flow. Configure master to automatically deploy to a staging environment or the production branch to production. 

Go multilingual with Docker

Building different languages? We've got your back. It's as easy as changing a single line of code in your configuration file and grabbing an already existing Docker image which supports that language!

Run as service

Using Docker containers make managing environments easier. You'll no longer be bound to remote agents and it's much easier to scale up! Select any of the 100,000+ images on the DockerHub or connect to your own Docker registry.

Use environment Variables

Variables can be defined in your repository's settings and accessible in your pipelines scripts as environment variables. Use secured variables for sensitive values like passwords and credentials. They'll be encrypted and hidden from the logs.

Extend your workflow

Pipelines is extensible via simple Bash scripting. Check out these public recipes that illustrate how third parties can get integrated into your pipeline.

Skip the queue

Run as many concurrent builds as you need without waiting in the queue. All you need to do is a simple push back to the repository. We take care of the infrastructure and get your builds started right away!


What do I need to run my first build?

A Bitbucket account and a repository. No build agents to install and configure.

What languages are supported?

Node, Ruby, Python, PHP, and more. Anything you can run in a Docker container is supported.

How do I tell Pipelines which repository to use?

By enabling the feature on your repository of choice and adding a bitbucket-pipelines.yml configuration file, Pipelines will automatically run builds on every change pushed.

Where do my builds run?

Builds run in isolated Docker containers on infrastructures that we manage.

Does Pipelines work with Bitbucket Server?

No. We recommend integrating Bamboo and Bitbucket server for behind the firewall continuous delivery.

Does Pipelines work with Mercurial repositories?

Yes, Git and Mercurial repositories are both supported.