The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Aron Gombas _Midori_
Community Champion
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/

Nate Loiselle
January 10, 2025

The issue I am running into though is with the parallel steps within stage, within the anchor

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 12, 2025

Hi @Nate Loiselle 

May we know the error you're seeing in pipelines?

Cheers!

- Ben (Bitbucket Cloud Support)

Nate Loiselle
January 13, 2025

I have attached a screenshot of the error I getScreenshot 2025-01-13 at 11.25.12 AM.png

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 13, 2025

Thanks @Nate Loiselle 

Unfortunately, parallel stages are not supported in stages - we have a feature request that you can Watch/Vote for to track progress and increase its visibility with regard to customer demand:

Cheers!

- Ben (Bitbucket Cloud Support)

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events