EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 600+ Courses All in One Bundle
  • Login

How to Install Jenkins

By Priya PedamkarPriya Pedamkar

Home » Software Development » Software Development Tutorials » Jenkins Tutorial » How to Install Jenkins

How to Install Jenkins

Introduction to Install Jenkins

Jenkins is a Continuous Integration and delivery tool. It helps the developers in their development process. There is always a huge demand for some improvement and multi-tasking applications. Jenkins is one such tool that can help developers with code integration and delivery facilities altogether.

So, as we know that developers are working on code development and there is a repository allocated for their work to store and share among the team. This repository can be Git, VSO, Jira or any other tool. Jenkins will make sure that whatever the latest commits that happen to the repository do not get spoiled, it runs then and checks if everything is fine or not. If there is any kind of issue related to builds, it has a feature to report the concerned person via email notification.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

Jenkins is developed in Java and it is an open source tool. Users who want Jenkins in their system – download Java (either JDK or JRE) in your system before.

Let’s see some system requirement –

  • Minimum of 256MB of RAM is good to start, prefer more than the mentioned one.
  • 1GB of hard disk space is the minimum requirement, prefer more than this.

Steps to Install Jenkins

Let us discuss the steps required to install Jenkins.

Step 1: You have to type ‘Jenkins’ on any browser, the first link that will appear contains the link for download Jenkins.io

official website

Step 2: Once you are into the Jenkins website you will see the ‘Download’ option available in the dashboard. There are 2 types of releases available

  • Long term support release
  • Weekly release

Long term support release

We will use the Long term support link for the windows platform – the latest version is 2.150.3.

Popular Course in this category
Jenkins Training (4 Courses, 2+ Projects)4 Online Courses | 2 Hands-on Projects | 16+ Hours | Verifiable Certificate of Completion | Lifetime Access
4.5 (5,432 ratings)
Course Price

View Course

Related Courses
Java Training (40 Courses, 29 Projects, 4 Quizzes)All in One Software Development Bundle (600+ Courses, 50+ projects)

latest version of Jenkins

Note – One crucial thing to discuss with our readers is that there are two ways to install the Jenkins application.

  • Run Jenkins as a service, this start without any user to log in. Windows installer is the preferred way and also the easiest way to do
  • If you are an advanced user you can also download the Jenkins war file and deploy it

We will continue with windows installer way – 1st one

Once you click the ‘Download’ button you will get the below screen and the download process has begun. After the download has been completed it navigate to the download location and run the application.

Windows Stable installer

Step 3: Open the zip file and you will see the windows installer package in it. Double click and the installation process will start. You can see the Setup window with Jenkins 2.150.3 Follow the below-mentioned screen. Click on the ‘Next’ button.

Jenkins Installation step 3

Step 4: Next screen asks you about the location to save the file. The default location is also mentioned in the screen. If you don’t have any specific reason to change let it be as it is, refers to the below-mentioned screen.

Jenkins setup

Step 5:  click the install button to run the process. Refer to the below screen.

Jenkins installation step 5

Step 6: In the end, you will see the below screen which says ‘Completed the Jenkin2.150.3 setup. Click the Finish button to stop the install process of Jenkins. After this you will get an option to open your file, we have to open it via any browser. Let’s see what happens –

Jenkins installation step 6-1

And on port ‘localhost8080’ you will see the below screen. The first screen is of localhost8080 address and second the message you will get.

unlock Jenkins

Step 7: Now first thing in order to unlock Jenkins is ‘Password’, yes you need to provide the initial admin password. Let’s see how we can do this. And the password is set in this directory.

Directory: /var/lib/Jenkins/secrets/initialAdminPassword

Just copy the following details and paste it into your folder explorer directory. Let’s see how we can do this. I have copied “/var/lib/Jenkins/secrets” and paste it in the folder explorer. Follow the below screen for better understanding

Initial admin password

A user has to open the initialadminpassword by clicking on it. It is highlighted in the above screen with a red rectangle. Open it with your editor (like Notepad or Notepad ++). Follow the below screen.

Jenkins installation step 7-2

Step 8: Copy this password and paste it into the Jenkins window opened in the browser.

Jenkins installation step 8-1

Paste the Password

Enter password to unlock Jenkins

I have pasted my password, and click Continue.

Step 9: Now in the next screen, we will get ‘Customize Jenkins’ screen. Again there are 2 options for the users to prefer.

  • Install suggested Plugins
  • Select plugins to install

We will choose the first option, as it is the most used list of plugins preferred by the community members. Also, if you have any specific purpose then only prefers the 2nd option.

customize Jenkins

With this, the recommended plugins will start to download. Let’s see the related screen.

download plugins

The above is the suggested install screen. We can see that there are so many useful things that are coupled together. It has the plug-ins for Git, LDAP, SSH Slaves. Once all the plugins are successfully installed on your Jenkins you will be automatically redirected to the below-mentioned page.

admin user

Step 10:  Fill the following fields –

  • Username
  • Password
  • Confirm Password
  • Full Name
  • E-mail address

Once the details are provided click on ‘Save and Finish’ button and you will get the below screen. Which means Jenkins is installed properly and it is ready to start.

Jenkins installation step 10

Step 11: A few last but crucial works have to be done. Once the above screen appears in front of you, you have to open the folder where the Jenkins folder is present (in your local system). Just go to C drive and Program file settings and search for ‘Jenkins’ folder. Refer the below screen for better understanding

Jenkins plugins

This is how we will install Jenkins in our local system. Before we wrap this important discussion with our readers let us see what Jenkins can do for its users. We have presented some key responsibilities of Jenkins –

  • Inbuilt capability of internal hosting
  • Open source
  • Great tool to build, deploy and launch
  • Highly rich set of plugins with complete documentation
  • Hugs integrations available
  • Easy setup
  • Large user base

Recommended Articles

This has been a guide on how to Install Jenkins. Here we have discuss the different steps to Install Jenkins in our window. You may also look at the following articles to learn more –

  1. Uses of Jenkins
  2. Jenkins and Travis CI
  3. Install phpMyAdmin
  4. Jenkins vs Hudson

Jenkins Training (4 Courses, 2+ Projects)

4 Online Courses

2 Hands-on Projects

16+ Hours

Verifiable Certificate of Completion

Lifetime Access

Learn More

0 Shares
Share
Tweet
Share
Primary Sidebar
Jenkins Tutorial
  • Basics
    • What is Jenkins
    • Is Jenkins Free
    • How to Install Jenkins
    • Uses of Jenkins
    • Jenkins Plugins
    • Jenkins Pipeline
    • Jenkins Backup
    • Jenkins Email Notification
    • Jenkins Interview Questions

Related Courses

Jenkins Training Course

Java Training Course

Software Development Course Training

Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Java Tutorials
  • Python Tutorials
  • All Tutorials
Certification Courses
  • All Courses
  • Software Development Course - All in One Bundle
  • Become a Python Developer
  • Java Course
  • Become a Selenium Automation Tester
  • Become an IoT Developer
  • ASP.NET Course
  • VB.NET Course
  • PHP Course

© 2020 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA Login

Forgot Password?

EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you
Book Your One Instructor : One Learner Free Class

Let’s Get Started

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

Special Offer - Jenkins Training (4 Courses, 2+ Projects) Learn More