The number of executors on a node defines the number of concurrent tasks that can run. ![]() ExecutorsĪn executor is a slot for the execution of tasks.Įffectively, it is a thread in the agent. In practice, nodes and agents are essentially the same but it is good to remember that they are conceptually distinct. Set the number of executors to 0 to disable running tasks on the built-in node.Īgents manage the task execution on behalf of the Jenkins controller by using executors.Īn agent is a small (170KB single jar) Java client process that connects to a Jenkins controller and is assumed to be unreliable.Īn agent can use any operating system that supports Java.Īny tools required for building and testing get installed on the node where the agent runs.īecause these tools are a part of the node, they can be installed directly or in a container, such as Docker or Kubernetes.Įach agent is effectively a process with its own Process Identifier (PID) on the host machine. ![]() The number of executors configured for the node determines the node’s ability to run tasks. However, running tasks on the built-in node is discouraged for security, performance, and scalability reasons. It is possible to use agents and the build-in node to run tasks. The built-in node is a node that exists within the controller process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |