Here's a list of hints that might help you solve some common problems.
- Get started with Bitbucket Pipelines
- 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.
- 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
- watch where the pipeline fails
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.