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?
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
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 moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.