I have setup a Jenkins server on a machine (master node) and have setup one slave node as well. I have added same label 'test' on both master node as well as slave node. The same label 'test' has also been added to 'Restrict where this project can be run' property of my jenkins project. The issue is, when I trigger 2 or more builds of this project, all are getting queued to run with one of the nodes only. (even when the other node is idle) My expectation is if first build is running on slave node, second should run on the master node and vice-versa. Anything I am missing here ?
NOTE - Tried configuring both the nodes with Usage property values 'Use this node as much as possible' as well as 'Only build jobs matching with label expression' but found the same behavior.
Thanks in Advance..!!