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

How to loop on pipeline steps

Sébastien Boulet January 28, 2023

Hi,

 

I have a first step which create a json file (as artifact) with one or many jobs to do. 

I would like to do n times the next step, one time for each object in the json artifact. 

Is it possible to do that with bitbucket pipelines?

 

Best regards,

Sébastien 

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 Sébastien,

This is not possible with Bitbucket Pipelines. What you can do instead is use a for loop in the next step in order to do the n jobs in that one step.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events