We are running a Jenkins instance with 9 agents, all of which have identical configurations and resource availability (CPU, memory, etc.). However, we’ve observed that the job distribution seems to be uneven, with only two agents consistently receiving more load while the others remain relatively idle.
Could you provide clarification on how the Jenkins controller allocates jobs to agents? Specifically:
- How does Jenkins determine which agent to assign a job to when multiple agents are available?
- Does Jenkins use a round-robin or load-balancing approach, or is there another factor that influences this behavior?
- Are there any settings or plugins we can use to better distribute jobs evenly across all agents?
Any guidance or recommendations would be appreciated.
Thank you!!