Install Jenkins on Windows Machine

What is Jenkins & Why we need It?

If you are the part of the Software team, then you must hear a lot of echo on DevOps, CI/CD( Continuous Integration and Continuous Deployment), and Jenkins.  It may be a scary word for you but we assure you that this tutorial will not only make you gran the concept but will even make you expert in DevOps. Our tutorial guide provides step by step guidance and also explains each step in detail even with an illustration that will help you to build your understanding.

This is the first tutorial on DevOps tutorial series. This tutorial is based on Jenkins introduction and installation on Windows machine. 

Introduction to Jenkins:

Jenkins:  Jenkins is a self-contained, open-source automation server which can be used to automate all types of task related to building, testing, and delivering or deploying the Software.

Features of Jenkins: 

  1. Continuous Integration and Continuous Delivery: As Jenkins can be used in a simple CI server or it may be used as Continuous Delivery Hub for any project.
  2. Easy Installation
  3. Easy Configuration
  4. Plugins: Jenkins can be customized using millions of plugins
  5. Extensible: With correct configuration and plugins Jenkins can be extended.
  6. Distributed: Jenkins can easily distribute work across multiple machines, helping drive builds, tests, and deployments across multiple platform faster.

Pre requiste: Java8(JDK) should be installed.

Jenkins Installation Steps:

Step by Step guide for Jenkins Installation:

  • Step 1: Go to Jenkins Website and Download Jenkins set up as per system specification

Link : https://www.jenkins.io/download/

Direct link to download on Windows Machine.

https://www.jenkins.io/download/thank-you-downloading-windows-installer-stable/

Download Jenkins
  •  Step 2: Save Jenkins at Specific location:  Save Jenkins Set up at the desired location:
Jenkins installation path
  • Step 3: Unzip Set up and click on next and complete set up by clicking on next and click on Finish
Jenkins Installler
  • Step 4: Go to Jenkins folder and copy path: C:\Program Files (x86)\Jenkins
Jenkins local path
  • Step 5: Open Command Prompt and run below command:
cd C:\Program Files (x86)\Jenkins
Jenkins cmd
  • Step 6: Run below command to start Jenkins: Using below command you can start Jenkins on port 8080 by default.
java -jar jenkins.war

If you want to run Jenkins on Specific port then use –httpPort=9090   

java -jar jenkins.war --httpPort=9090  
Run jenkins
  • Step 7: After step 6 Jenkins will be started. You can open below link on your browser:

http://localhost:9090/login?from=%2F

initialAdminPassword Jenkins
  • Step 9: Copy admin password and enter in Jenkins
Copy Jenkins admin password
Unlock Jenkins using initialAdminPassword
  • Step 10: Click on Suggested plugins: It will install all the required basic plugins
Customize Jenkins
Jenkins Getting Started
  • Step 11: Enter First Admin User details  and save and continue.
Create Jenkins User
  • Step 12: Customize Jenkins URL  if required and save and Finish
Jenkins Instance Configuration
  • Step 13: Now Jenkins is ready for use. Click on Start Jenkins and continue with Jenkins.
Start Jenkins
Jenkins dashboard

Congratulation!  Jenkins set up on your machine. This is the first tutorial on Jenkins. In the next tutorial, we will learn to create the first Jenkins jobs to run the Selenium Project. 

I hope this tutorial helped in Jenkin’s configurations. If you like this tutorial then please follow us on Linked In and Facebook.

Subscribe to our Newsletter:

0 0 vote
Article Rating
close

Subscribe to our Newsletter:

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Open chat
Feel free to contact