I have a job JobA and associated it with NodeLable which have 3 nodes(A,B,C). requirement: if I trigger jobA 4 times at same time(with different parameters) then 3 jobs should be triggered (because of A,B,C) and last job should be in queue.
how can I achieve this
Hello @sushantgupta and welcome to this community.
I think you could achieve this by configuring Jenkins to limit the number of concurrent builds per node.
A single node can have only single job running so Number of executors is set to 1 on all 3 nodes.