Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Continuous Integration with Jenkins

You're reading from   Learning Continuous Integration with Jenkins A beginner's guide to implementing Continuous Integration and Continuous Delivery using Jenkins 2

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781788479356
Length 362 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Nikhil Pathania Nikhil Pathania
Author Profile Icon Nikhil Pathania
Nikhil Pathania
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Concepts of Continuous Integration 2. Installing Jenkins FREE CHAPTER 3. The New Jenkins 4. Configuring Jenkins 5. Distributed Builds 6. Installing SonarQube and Artifactory 7. Continuous Integration Using Jenkins 8. Continuous Delivery Using Jenkins 9. Continuous Deployment Using Jenkins 10. Supporting Tools and Installation Guide

Installing a Jenkins slave on a production server


In this section, we will install a Jenkins slave on the production server. This will allow us to perform deployment on the production server. Execute the following steps:

  1. From the Jenkins dashboard, click on Manage Jenkins | Manage Nodes.
  2. Once on the Node Manager page, from the left-hand side menu click on New Node.
  3. Give your new Jenkins slave node a name, as shown:

Adding a new Jenkins slave

  1. On the resultant page, you will be presented with a large number of options. Let us see them one by one.
  2. For the Remote root directory field, add the value /home/jenkins.
  3. For the Labels field, add the value production.
  4. For the Usage field, choose Use this node as much as possible.
  5. For the Launch method field, choose the option Launch slave agents via SSH.
  6. Under the Host field, add the IP address of the production server.
  7. Under the Credentials field, choose the credentials that we created in the previous section.
  1. Leave the rest of the options as they are.
  2. Once done...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime