Yaml anchors, stages, and parallel steps - supported?

Nate Loiselle January 9, 2025

I am trying to make use of YAML anchors, with different stages, and parallel steps in each stage (not parallel stages).

I have something like the following setup, but it does not seem to work and I want to know if what I am trying to do is supported:

 

pipelines:
custom:
Test Pipeline:
- stage:
name: Do multiple things
deployment: development
steps:
- step: *step1
- step: *step2
parallel:
- step: *pStep1
- step: *pStep2
- step: *pStep3

1 answer

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 10, 2025

@Nate Loiselle Generally speaking, YAML anchors are supported to eliminate repeating blocks in the YAML.

Have a look at the official doc, it should help: https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events