KBEA-00137 - Maximum number of agents used by a build

Article ID:360032824692
1 minute readKnowledge base
On this page

Summary

You want to know how to configure the maximum number of agents used by a build, and what the difference is between the build class max agents definition and the --emake-maxagents parameter?

Solution

The maximum number of agents used during a build is limited by the build class definition.

Individual users can specify a LOWER limit using the --emake-maxagents command line parameter, but any value exceeding the build class definition will be ignored.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.