Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a complete bitbucket pipeline script reference anywhere?

I'd like to know all available commands, variables, etc that I can use on a pipeline, I can't find it anywhere, only pieces here and there but not a complete reference.

1 answer

0 votes

Hi @heister82 ,

Thank you for your question!

There is the Configure bitbucket-pipelines.yml page with all needed info and links.

There are two ways to configure your pipeline: you can either directly write the YAML file or you can use the UI wizard provided by Bitbucket. The Get started with Bitbucket Pipelines guide  will guide you through the Pipelines configuration wizard.

With the Pipelines configuration wizard you could choose ready to use Pipelines template:

  1. In Bitbucket, go to your repository and select Pipelines.

  2. Click Create your first pipeline to scroll down to the template section.

  3. Choose one of the available templates. If you aren’t sure, you can use the one RECOMMENDED.

Templates cover a variety of use cases and technologies such as apps, microservices, mobile IaaC, and serverless development. We support major cloud providers such as AWS, Azure, and GCP. We support the top-used languages such as NodeJS, PHP, Java, Python, and .NET Core; however, based on the language configured in your Bitbucket repository, the template list automatically recommends templates in that language.

Also, an example of the ready to use starter template and many more Configuration Templates.

Oleksandr Kyrdan

I have seen these, but as I said, they aren't complete, they have a lot of examples but not a complete reference of available "commands".

I'd like a complete list of what I can do use and not specific examples on how to achieve X or Y (which currently, aren't being enough for my needs and since I don't know what there is out there... I don't know where to begin...)

If you prefer a more formal expression of the bitbucket-pipelines file-schema without any concrete example and some sparse commenting descriptions only, you might be interested in the JSON Schema as linked on schemastore.orgbitbucket-pipelines .

However I must admit I'm not entirely sure it helps you validate your expectations well, it's fine for validating bitbucket-pipelines.yml files thought and can assist you with auto-completion in your IDE, which might be beneficial for your exploration.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

156 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you