Reputation: 31
I have two builds:
Is it possible to block Build 1 till stage B is finished?
Standard blocking plugin checks only names of other jobs.
Upvotes: 0
Views: 828
Reputation: 6859
An easy way to do it is to schedule both Build 1
and stages A
and B
on some node with a unique label. This way, if the Build 2 is running and already using that node, Build 1 will be waiting in the queue on the node.
Another option to consider is using Lockable Resources plugin.
Upvotes: 1