Forums

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

Can the pipeline in general be parallel but a single step MUST come after another?

Jesper Skytte
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 28, 2025

I have currently got the following bitbucket-pipelines.yml file (redacted and simplified):

pipelines:
pull-requests:
'**':
- parallel:
- step:
<<: *stepA

- step:
<<: *stepB

- step:
<<: *stepC

As you can see, step A and step B run in parallel, and step C only starts, when both step A and step B has finished.

My problem is, that step C actually only depends on stepB, which takes a few seconds, but still needs to wait for stepA, which takes several minutes to run.

Is there any way to get step A and (step B -> C) to run in parallel?

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 31, 2025

Hey @Jesper Skytte ,

and welcome to the Community!

I'm afraid it's currently not possible to achieve this particular behavior. 

This would be feasible by using stages in the parallel group, so you'd have both steps B and C inside the same stage, and they would be run in sequence.

However, there's currently a limitation where stages are not supported within parallel sets. This functionality was already reported to our development team as a feature request you can access on the link below:

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.

Thank you, @Jesper Skytte !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
loom essentials certification, loom training, get certified in loom, atlassian certification, loom async video, video messaging skills, atlassian learning, loom for teams, online certification, loom badge, loom for business, atlassian education

Get Certified in Loom! 🧑‍🎓

Time to up your Loom game! The new Loom Essentials Certification is here! Show off your skills, learn pro tips, and get officially recognized. Perfect for taking your video messaging to the next level.

Learn more
AUG Leaders

Atlassian Community Events