Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a complete bitbucket pipeline script reference anywhere?

heister82
Contributor
April 7, 2021

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
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 7, 2021

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.

Cheers,
Oleksandr Kyrdan

heister82
Contributor
April 8, 2021

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...)

ktomk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2021

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
TAGS
AUG Leaders

Atlassian Community Events