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

Is there any way to configure a pipeline to only run if there is no other one running?

Matheus Rivello da Costa Arantes
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!
March 20, 2024

Today there was a case in which two developers made commits to a specific branch and two pipelines were started, causing conflicts.

1 answer

2 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 21, 2024

Hi @Matheus Rivello da Costa Arantes,

Welcome to the community.

You can prevent a Pipelines build from running by using Bitbucket Cloud Pipelines deployments which use Deployment concurrency control that will automatically check if there is a deployment in progress before starting a new one in the same environment.

You can find more information on Bitbucket Cloud Pipelines Deployments using the link below:

Additionally, you can also consider using Deployment permissions feature that is available on the Premium to only allow admins to deploy to an environment.

Mark C

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events