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

BitBucket pipeline run builds sequentially

Dmitriy Kagarlickij May 3, 2024

I have BitBucket Pipeline that runs Terraform,
so need to run builds sequentially - next build should wait for previous build to complete
How is it possible to set?

2 answers

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 6, 2024

Hi Dmitriy,

Concurrency control is only possible for deployment steps at the moment:

For example, if a certain pipeline has three steps, and you have defined the last step as a deployment step to production environment, then that step will get paused if there is another pipeline running a deployment step to production.

I'm afraid that there is no concurrency control for non-deployment steps at the moment. We have a feature request here:

Does your pipeline have multiple steps and are you looking for concurrency control on specific steps?

Kind regards,
Theodora

Dmitriy Kagarlickij May 9, 2024

thanks @Theodora Boudale it does work - next pipeline run is put to Paused state 

is it possible for next run to Resume itself automatically when previous run is complete? 

 

Like Theodora Boudale likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2024

Hi Dmitriy,

Paused deployment steps need to be resumed manually, I'm afraid that there is no way to resume them automatically at the moment.

We have a feature request for automatic resuming of paused deployment steps that you can vote for here:

Kind regards,
Theodora

Like Dmitriy Kagarlickij likes this
0 votes
sirubin
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!
May 14, 2024

Hi Dmitriy,

for simplified concurrency management please have a look at https://www.websemaphore.com (there is a 1-minute video available). If you have any questions just ping me.

Best regards,

Igor

Suggest an answer

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

Atlassian Community Events