O'Reilly logo

Jenkins 2.x Continuous Integration Cookbook - Third Edition by Alan Mark Berg, Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

  • Labels or tags can be utilized to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required