Forums

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

Should you build and test in parallel steps in the pipeline?

Drew Gallagher January 25, 2023

If your build and testing steps do not depend on each other, is it best practice to use parallel steps in the bitbucket pipeline to increase efficiency? 

 

https://support.atlassian.com/bitbucket-cloud/docs/parallel-step-options/

 

What are some common patterns for this?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2023

Hi Drew,

It's common to use parallel steps for deploying to multiple similar environments at the same time or for steps that perform tests. However, you could use them for build and testing steps if they don't depend on each other i.e. if your test steps do not need artifacts produced by the build steps. Parallel steps can only use artifacts produced by previous steps, not by steps in the same parallel set. So, if a testing step needs artifacts produced by a build step, then these two steps shouldn't be parallel.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, compass, developer experience, devex, platform engineering, internal developer platform, component catalog, atlassian learning, productivity tools, developer productivity, software architecture, compass webinar, engineering teams

Discover how Compass drives DevEx and productivity at Atlassian 🏃🏻‍♂️

Learn why Compass was built to tackle dev experience at scale. See how Atlassian uses it to boost visibility, reduce cognitive load, and drive consistency—plus tips to get started and customize your IDP for stronger team engagement.

Join the webinar ✨
AUG Leaders

Atlassian Community Events