Like this, you can add multiple nodes as slaves. Setting up Jenkins slaves using ssh keys. 1. Login to the slave server as a jenkins user. 2. Create a .ssh directory and cd into the directory. mkdir ~/.ssh && cd ~/.ssh. 3. Create an ssh key pair u
To set up slaves/nodes in Jenkins follow the steps given below. Step 1 − Go to the Manage Jenkins section and scroll down to the section of Manage Nodes. Step 2 − Click on New Node. Step 3 − Give a name for the node, choose the Dumb slave option and
Jenkins will use this key to authenticate with the agent node and log in as the jenkins user. This key can be generated on practically any Linux machine, but you can also do it on the agent node itself and copy it to the new agents nodes: # su - jenkins #
Post a Comment:
Showing 0 Comments: