Today there was a case in which two developers made commits to a specific branch and two pipelines were started, causing conflicts.
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.
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.