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: 

Bitbucket Pipelines nested paralellel and consecutive steps

Tomas Svitil
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!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events