Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,348
Community Members
 
Community Events
165
Community Groups

Can I automatically resume the most recent paused pipeline?

Edited

Due to the behavior of deployment concurrency control, when a new pipeline is started while a previous one is running, the new pipeline is paused. It would be ideal to have the ability to automatically resume the most recent paused pipeline once the current pipeline has completed.

 

I am aware that a paused pipeline can be resumed manually from the web interface, but having the option to start the most recent paused pipeline automatically would make the whole process a lot easier.

 

For example, our repo is set up to run a pipeline whenever someone commits to our development branch. If three people commit to that branch within a few minutes of each other, the first pipeline will run and complete, but the next two will not. Ideally, the most recent pipeline would automatically resume once the first pipeline completes, ensuring that our most recent commit is tested properly.

 

I've tried using the REST API to start a new pipeline in the after-script section, but since the pipeline is still running, the new one gets paused again.

 

Is there any way to accomplish this behavior?

1 answer

Please find this feature request, this may cover what you're looking for:

Via: Trigger bitbucket pipeline manual step using API

https://jira.atlassian.com/browse/BAM-21281 this is a better feature request, although directed at Bamboo, but the solution and behaviour expected is actually the same for Bitbucket Pipelines.

Like tkn98 likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,085 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you