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

Bitbucket lock branch while build running

Pete Mercer December 14, 2017

Looking to see if it is possible to use script-runner to lock a branch while build is running to prevent additional changes.

We open a PR which triggers build. Build can run long, and we don't want changes coming in triggering another build on top of what is running.

1 answer

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2017

Hi Pete,

The checkout is done once when the build is starting. Any new changes coming in will not affect the other build that is running.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events