Troubleshooting Bitbucket Pipelines
Here's a list of hints that might help you solve some common problems.
See also:
- Get started with Bitbucket Pipelines
- Configuration
- Use variables in pipelines
- Debug your pipelines locally using Docker
Something weird is happening in the interface
Sometimes browser extensions/addons can override our interface, even ones you'd think would have nothing to do with it! As a troubleshooting step it's worth temporarily disabling all browser extensions, and trying the action again.
Invalid bitbucket-pipelines.yml
- YAML must be indented with spaces only, not tabs
- The script for a step does not support a multi-line string yet. Please provide a list of commands
- Try validating your bitbucket-pipelines.yml with with an online YAML linter
- Have a look at how to configure your bitbucket-pipelines.yml
My script isn't working and I'm not sure why
Rather than use up build minutes going through a cycle of:
- make a small change
- commit
- watch where the pipeline fails
- repeat
You can debug your pipelines locally using Docker. This means you can run an identical docker container to the one we use, and then interactively run each command in your script to find out the root cause of any issues.
I committed the bitbucket-pipelines.yml file, but I don't see any running builds
If you committed and pushed the bitbucket-pipelines.yml, but you can't see any information about builds:
- Check whether Pipelines is enabled. For more information, see Get started with Bitbucket Pipelines.
- If Pipelines is enabled and the bitbucket-pipelines.yml file is in the root of your repository, try pushing a change. The builds are triggered on every commit that happens after you enable Pipelines.
- Try refreshing your browser.
My branch doesn't build
Make sure that there is a bitbucket-pipelines.yml
file in the root of your branch. To build a branch, you must specify a default or a branch-specific pipeline configuration. For more information, see Configure bitbucket-pipelines.yml.
I did a push with multiple branches, but I don’t see any running builds
Pipelines accepts up to five branches in one push, so you might want to check whether you’re within the limit.
We’ve restricted the number of branches in a push to prevent unintended usage of your build minutes.
I can't get a pipe working
Make sure to check out the readme for the pipe you are using; it's linked to from the editor and the pipes page. The readme contains more detail about using the pipe and where you can get support, as that changes depending on who developed it.
If none of the above helps you can see if other people have had similar issues on community, or get technical support, by raising a ticket with our technical support team.