Introduction
Jenkins uses a master-agent setup to split work between a main server and multiple worker machines. This helps run many tasks at once without slowing down the main server.
When you want to run multiple builds or tests in parallel to save time.
When your main Jenkins server should stay free to manage jobs and not run heavy tasks.
When you have different machines with special tools or environments for specific jobs.
When you want to add more workers easily to handle more jobs as your team grows.
When you want to isolate jobs so one failing task does not affect others.