'Does jenkins restrict only one agent per project?

I have two agents, name is different but it's label is the same:rs.

Inside the project configuration, I chose 'Restrict where this project can be run' and 'rs' in Label Expression.

I expected that it would run 2 agents at once. Instead, only one agent is running.

Is there any option to execute in multiple agents in one build?

I'm connecting master and agent with ssh. I checked each individual connection is fine and executed okay.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source