Bitbucket Pipelines FAQ

Frequently asked questions for Bitbucket Pipelines.

 


 

 


 

How much will Bitbucket Pipelines cost?

For more details on pricing, see https://bitbucket.org/product/pricing/upcoming. Pipelines will be free to use for now.

Is there a limit to how much I can use Pipelines?

See the limitations of Pipelines.

What is a build minute?

Build minutes are minutes executing a pipeline on a runner, excluding time acquiring a runner. In other words, they're the minutes when your pipeline status is "In progress".

How can I check my usage for this month?

You can check your team or account's minutes usage for the month in Team settings > Pipelines settings > Usage.

How do I share build artifacts?

You can publish artifacts to something as simple as an AWS S3 bucket or more powerful like an artifact repository. Have a look at some of these examples.

I've already added my credentials as an environment variable on another repository. Can I reuse that?

No, your credentials are shared with the Pipelines only for the repository it's connected to and can't be used in other repositories.

How can I update the list of known hosts for SSH/SCP

The default Docker image comes with only two known hosts: github.com and bitbucket.org. To connect via a tool that does host verification, you need to update the list of known hosts to include the fingerprint of the hosts that you want connect to.

To update the list, you need to add a command in your bitbucket-pipelines.yml file. The command must be added before the first command that tries to connect to the new host.

Put the following into your bitbucket-pipelines.yml file, substituting:

  • {HOST} with the fully qualified name of the host 
  • {FINGERPRINT} with the fingerprint of the new host
echo "{HOST} ssh-rsa {FINGERPRINT}" >> /root/.ssh/known_hosts

 

An example for bitbucket.org would look like this:

echo "bitbucket.org,104.192.143.2 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==" >> /root/.ssh/known_hosts

For more information about Docker and Pipelines, see Using Docker images as build environments.

Why don't I see any pipelines?

A list of pipelines displays all builds triggered by commits, no matter if they're successful, pending, in progress, or failed. An initial commit of your bitbucket-pipelines.yml file can trigger the first build, so if you don't see any entries in the pipelines table, you might want to check a couple of things.

  • First of all, each branch needs a valid bitbucket-pipelines.yml file. 
  • If the branch that you want to build already has the bitbucket-pipelines.yml file and you still don't see any pipelines in the list, you might want to add a configuration pipeline that will match your branch. You can do it in two ways:
    • add a branch-specific pipeline that matches the name of the branch that you want to build
      or
    • add a default pipeline that will have configuration for all branches, unless specified otherwise

For more information, see Configure bitbucket-pipelines.yml.

Can I whitelist IP address ranges to grant Bitbucket Pipelines access to my firewall?

Yes. See What are the Bitbucket Cloud IP addresses for the public IP addresses. Note that Bitbucket Pipelines is a shared service and the same IP addresses are used by builds configured by all our customers.

 

Can I skip builds?

Bitbucket Pipelines supports skipping builds.
If you don't want to run a build, for example you want to save build minutes, you can include [skip ci] or [ci skip] anywhere in your commit message of the HEAD commit. Any commits that include [skip ci] or [ci skip] in the message are ignored by Pipelines.

How can I give you feedback?

Use the Give feedback form in Bitbucket on Pipeline pages. Note that we are unable to respond to this feedback, but we do read it!

  For feature requests, raise an issue on our issue tracker.

  For technical support, raise a ticket with our technical support team.

 


 

 

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport