Currently have multiple pipelines (A, B, C) on Jenkins with nodes (X, Y, Z). We enabled the Throttle Concurrent Builds plugin to make sure only one build from a pipeline is run on a single node.
The problem is, with this approach, builds from different pipelines can collide (for example, pipeline A could already be executing on node X, and we don't want any other pipelines executing on node X until pipeline A is done). The TCB plugin makes sure that multiple builds from a single pipeline doesn't run on one node, but it doesn't prevent multiple pipelines spawning one build on a single node.
How do I configure Jenkins so that nodes can only run one build, NOT per pipeline?