Missed Team ’24? Catch up on announcements here.

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

Bitbucket Pipelines nested paralellel and consecutive steps

Tomas Svitil June 16, 2019

How can we run nested paralellel and consecutive steps?

We have a monorepo and need to build a few projects the flow would typically be:
Run all project tests in parallel,
and in each of those parallel steps, once the tests pass, build the artifacts 

1 answer

1 accepted

1 vote
Answer accepted
Tom Bradshaw
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2019

Hi Tomas,

At the moment it is not possible to run steps sequentially within different parallel streams in pipelines. You would have to run the tests and build the artifacts in the same step (though not the same script command).

- parallel:
        - step:
            script:
              - test project 1
- build project 1 artifact - step: script: - test project 2
- build project 2 artifact

Can you also add a feature request for this at https://bitbucket.org/site/master/issues/ since other users may also want this feature.

If you have any questions let me know.

Cheers,

Tom

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events