Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

is it possible to dynamically create parallel steps?

As we add new (unit and Cypress) tests to our repo, the the PR build time grows. We've tried manually splitting them into multiple steps but this doesn't scale. 

We tried using but saw no change in run times.

Most recently we manually created parallel steps for Cypress steps but as mentioned this won't scale as our app grows.

Is it possible to dynamically create steps in a pipeline?

1 answer

1 accepted

0 votes
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 02, 2023

Hi @Bill Lazar,

Thank you for reaching out to the community.

Unfortunately, it is not possible to create dynamic steps in Bitbucket Cloud Pipelines.
However, you can try to programmatically update your bitbucket-pipelines.yml file by editing the file adding steps and pushing it to your repository using the below API endpoint.

POST /2.0/repositories/{workspace}/{repo_slug}/src

API Reference here

Hope it helps and do let me know if you have further questions.

Mark C

Doesn't really help but thank for the answer.

It does help, bit it needs more development of your own. You have to run a pre-push script that updates the "parallel" section inside pipelines.yml based on your existing tests and use cases. Then you push that change with this endpoint

Thanks but I'm not going to do that.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events