How to do it...

  1. Jenkins stable and more recent versions are available in a YUM repository. Following is a table that provides details for configuration of Agents:

# of executors

  • Here, we can specify the number of concurrent builds that Jenkins may execute on this agent node.
  • Agents must have at least one executor, and in case we don't want any execution, then we can configure this setting as 0.

Remote root directory

  • An agent node requires us to have a directory dedicated to Jenkins. Specify the path to this directory on the agent.
  • Use an absolute path only. All job configurations, build logs, and artifacts are stored on the master.
  • Workspace is available on the agent node.


  • Labels or tags can be utilized to ...

Get Jenkins 2.x Continuous Integration Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.