-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 1.643 on Windows Server 2012R2 x64
Java 1.8.0_20 x86
Node and Label Parameter Plugin 1.7.1
-
-
1.11.0
I have multiple agents that have multiple labels\tags. Four of those agents are online and all 4 have 'sales' (no quotes) as one of their labels.
I add a label parameter to a job, and I specify 'sales' as the value (no quotes).
The job runs fine, and it targets all four agents. Unfortunately, it runs twice on the first agent (5 iterations total). If I use a NODE parameter instead, and select all 4 agents, it runs 4 times (once on each).
I have checked the box "Run on all nodes matching the label". I have selected "Run regardless of result" radio button. In terms of Node eligibility, I have selected "Ignore offline nodes".
It has nothing to do with that particular agent (agentA), because when I take it offline, and run the job again using the same label, the job is run twice on a different agent(agentB), and only once and the other two agents (agentC,agentD).