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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.