Group Discounts available for 3+ students and Corporate Clients

Step by Step Process of Installing Jenkins

Jenkins Installation

With the release of 2.0, the installation of Jenkins remains largely the same but the initial setup is different. After you have chosen your preferred OS or container for installation the first time you run Jenkins you will be presented with a setup wizard to properly configure Jenkins. Jenkins will not be accessible via the web interface or CLI until the initial setup is complete.

The Plugin Install Wizard will be launched


-Jenkins requires Java7 or above and Servlet 3.1 to function.

-Java8 is recommended.

-Jenkins requires a fair amount of memory to operate well.

-Smaller installations should start around 256MB-1GB.


wget -q -O - | sudo apt-key add -
sudo sh -c 'echo deb binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

Installation of a stable version

There is also a LTS YUM repository for the LTS Release Line

  • sudo wget -O /etc/yum.repos.d/jenkins.repo
  • sudo rpm --import
  • sudo yum install jenkins
These core tutorials will help you to learn the Step by Step Process of Installing Jenkins. For an in-depth
 understanding and practical experience, explore Online Jenkins Training.

Installation of Java

Jenkins requires Java in order to run, yet certain distros don’t include this by default. To install the Open Java Development Kit (OpenJDK) run the following:

sudo yum install java

Install Jenkins as a Windows service

First, you need to start Jenkins before installing it. This can be done from JNLP, or by running “java -jar jenkins.war“.

Now connect to Jenkins by going to the following URL http://<hostname>:8080/
Once Jenkins is started this way, look for the “Install as Windows Service” link in the “Manage Jenkins” page (requires Microsoft .NET framework version 2.0):


Clicking this link shows you the installation screen:


Choose the directory where Jenkins shall be installed (directory must already exist. If not create it before hand). This will become JENKINS_HOME and used to store data files and programs alike.
Upon successful completion of the installation, you should see a page asking you to restart Jenkins.

Learn more about Jenkins Interview Questions in this blog post.


This is to re-launch Jenkins as a newly installed Windows service. When you click yes, you’ll be asked to wait until the restart completes:

At this point you can use the service manager to confirm that Jenkins is running as a service.


“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at, we will update the article in 24 hours.”

1 Responses on Step by Step Process of Installing Jenkins"

  1. Shimith says:

    I have a requirement where I have powershell script to validate the windows image after creation and that powershell script will email the image status.

    As part of automating it, I want the image status should go to Jenkins.

    Does anyone know what plugins we need to use for that and how to write the database for the same ?

    any help is much appreciated

Leave a Message

Your email address will not be published. Required fields are marked *


Please Enter Your Details and Query.
Three + 6