Adding Jenkins slaves – standalone Linux machine/VMs

In the following section, we will try to add a standalone Linux machine as a Jenkins slave. Make sure you have Java installed on your soon-to-be Jenkins slave machine. Follow the given steps:

  1. From the Jenkins dashboard, click on Manage Jenkins | Manage Nodes.
  2. From the left-hand side menu, click on New Node. On the resultant page you will be asked to provide a name for your node and choose the type, as shown in the following screenshot:
Adding a name and choosing the agent type (type of slave)
  1. Add a meaningful name under the Node name field and choose the agent type. For now, there is ...

Get Learning Continuous Integration with Jenkins - Second 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.