Project Blocking

We need to Create a Blocking process that will not build a project if a different project is in the process of building.  Is there any way that this can be done.

0
4 comments

Hi,

You can create shared resource for this purpose and add a write locks for needed build configurations.

0

Hi there,

We have a slighty similar requirement, with two build configurations, A and B. We need to block any executions of B, if A is executing but only on main branch. If A is running but on any other branch than main, it should not block B.

 

0

Hi Balogh,

Did you try to use Shared resources with Locks on resources on custom values to set the default branch in your VCS root? It seems to me that it could be a solution.

Regards,

Guilherme

0

Hi Guilherme, 

Not yet. How would it work? If I add the default branch as a custom value, the build config lock it regardless of which branch is it using. or not? Maybe if I lock on the current branch in BC A, and try to lock the default main on BC B?

 

Thanks,
Mihály

0

Please sign in to leave a comment.