- Blog Categories
- Project Management
- Agile Management
- IT Service Management
- Cloud Computing
- Business Management
- BI And Visualisation
- Quality Management
- Cyber Security
- Most Popular Blogs
- PMP Exam Schedule for 2025: Check PMP Exam Date
- Top 60+ PMP Exam Questions and Answers for 2025
- PMP Cheat Sheet and PMP Formulas To Use in 2025
- What is PMP Process? A Complete List of 49 Processes of PMP
- Top 15+ Project Management Case Studies with Examples 2025
- Top Picks by Authors
- Top 170 Project Management Research Topics
- What is Effective Communication: Definition
- How to Create a Project Plan in Excel in 2025?
- PMP Certification Exam Eligibility in 2025 [A Complete Checklist]
- PMP Certification Fees - All Aspects of PMP Certification Fee
- Most Popular Blogs
- CSM vs PSM: Which Certification to Choose in 2025?
- How Much Does Scrum Master Certification Cost in 2025?
- CSPO vs PSPO Certification: What to Choose in 2025?
- 8 Best Scrum Master Certifications to Pursue in 2025
- Safe Agilist Exam: A Complete Study Guide 2025
- Top Picks by Authors
- SAFe vs Agile: Difference Between Scaled Agile and Agile
- Top 21 Scrum Best Practices for Efficient Agile Workflow
- 30 User Story Examples and Templates to Use in 2025
- State of Agile: Things You Need to Know
- Top 24 Career Benefits of a Certifed Scrum Master
- Most Popular Blogs
- ITIL Certification Cost in 2025 [Exam Fee & Other Expenses]
- Top 17 Required Skills for System Administrator in 2025
- How Effective Is Itil Certification for a Job Switch?
- IT Service Management (ITSM) Role and Responsibilities
- Top 25 Service Based Companies in India in 2025
- Top Picks by Authors
- What is Escalation Matrix & How Does It Work? [Types, Process]
- ITIL Service Operation: Phases, Functions, Best Practices
- 10 Best Facility Management Software in 2025
- What is Service Request Management in ITIL? Example, Steps, Tips
- An Introduction To ITIL® Exam
- Most Popular Blogs
- A Complete AWS Cheat Sheet: Important Topics Covered
- Top AWS Solution Architect Projects in 2025
- 15 Best Azure Certifications 2025: Which one to Choose?
- Top 22 Cloud Computing Project Ideas in 2025 [Source Code]
- How to Become an Azure Data Engineer? 2025 Roadmap
- Top Picks by Authors
- Top 40 IoT Project Ideas and Topics in 2025 [Source Code]
- The Future of AWS: Top Trends & Predictions in 2025
- AWS Solutions Architect vs AWS Developer [Key Differences]
- Top 20 Azure Data Engineering Projects in 2025 [Source Code]
- 25 Best Cloud Computing Tools in 2025
- Most Popular Blogs
- Company Analysis Report: Examples, Templates, Components
- 400 Trending Business Management Research Topics
- Business Analysis Body of Knowledge (BABOK): Guide
- ECBA Certification: Is it Worth it?
- How to Become Business Analyst in 2025? Step-by-Step
- Top Picks by Authors
- Top 20 Business Analytics Project in 2025 [With Source Code]
- ECBA Certification Cost Across Countries
- Top 9 Free Business Requirements Document (BRD) Templates
- Business Analyst Job Description in 2025 [Key Responsibility]
- Business Analysis Framework: Elements, Process, Techniques
- Most Popular Blogs
- Best Career options after BA [2025]
- Top Career Options after BCom to Know in 2025
- Top 10 Power Bi Books of 2025 [Beginners to Experienced]
- Power BI Skills in Demand: How to Stand Out in the Job Market
- Top 15 Power BI Project Ideas
- Top Picks by Authors
- 10 Limitations of Power BI: You Must Know in 2025
- Top 45 Career Options After BBA in 2025 [With Salary]
- Top Power BI Dashboard Templates of 2025
- What is Power BI Used For - Practical Applications Of Power BI
- SSRS Vs Power BI - What are the Key Differences?
- Most Popular Blogs
- Data Collection Plan For Six Sigma: How to Create One?
- Quality Engineer Resume for 2025 [Examples + Tips]
- 20 Best Quality Management Certifications That Pay Well in 2025
- Six Sigma in Operations Management [A Brief Introduction]
- Top Picks by Authors
- Six Sigma Green Belt vs PMP: What's the Difference
- Quality Management: Definition, Importance, Components
- Adding Green Belt Certifications to Your Resume
- Six Sigma Green Belt in Healthcare: Concepts, Benefits and Examples
- Most Popular Blogs
- Latest CISSP Exam Dumps of 2025 [Free CISSP Dumps]
- CISSP vs Security+ Certifications: Which is Best in 2025?
- Best CISSP Study Guides for 2025 + CISSP Study Plan
- How to Become an Ethical Hacker in 2025?
- Top Picks by Authors
- CISSP vs Master's Degree: Which One to Choose in 2025?
- CISSP Endorsement Process: Requirements & Example
- OSCP vs CISSP | Top Cybersecurity Certifications
- How to Pass the CISSP Exam on Your 1st Attempt in 2025?
- More
- Tutorials
- Practise Tests
- Interview Questions
- Free Courses
- Agile & PMP Practice Tests
- Agile Testing
- Agile Scrum Practice Exam
- CAPM Practice Test
- PRINCE2 Foundation Exam
- PMP Practice Exam
- Cloud Related Practice Test
- Azure Infrastructure Solutions
- AWS Solutions Architect
- AWS Developer Associate
- IT Related Pratice Test
- ITIL Practice Test
- Devops Practice Test
- TOGAF® Practice Test
- Other Practice Test
- Oracle Primavera P6 V8
- MS Project Practice Test
- Project Management & Agile
- Project Management Interview Questions
- Release Train Engineer Interview Questions
- Agile Coach Interview Questions
- Scrum Interview Questions
- IT Project Manager Interview Questions
- Cloud & Data
- Azure Databricks Interview Questions
- AWS architect Interview Questions
- Cloud Computing Interview Questions
- AWS Interview Questions
- Kubernetes Interview Questions
- Web Development
- CSS3 Free Course with Certificates
- Basics of Spring Core and MVC
- Javascript Free Course with Certificate
- React Free Course with Certificate
- Node JS Free Certification Course
- Data Science
- Python Machine Learning Course
- Python for Data Science Free Course
- NLP Free Course with Certificate
- Data Analysis Using SQL
How To Install Jenkins on Windows in simple steps
Updated on May 27, 2021 | 7 min read
Share:
Table of Contents
Jenkins is a Java based open-source application, which is one of the most popular tools for continuous integration and continuous delivery on any platform.
Jenkins is a self-contained server that can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software. It has many plugins for automating almost everything at the infrastructure level. The use of Jenkins has widely increased due to a rich set of functionalities, which it provides in the form of plugins.
Also, read more about Install Jenkins on Ubuntu.
The Jenkins project has two release lines: Stable (LTS) and regular (Weekly). Depending upon the scenario and need, one can be chosen:
- Stable (LTS): Long-Term Support (LTS) release baselines are chosen every 12 weeks from the stream of regular releases.
- Regular releases (Weekly): This delivers bug fixes and new features rapidly (generally weekly) to users and plugin developers who need them.
Jenkins can be installed through native system packages, Docker, or even run standalone by any machine with a Java Runtime Environment (JRE) installed.
In this tutorial, we will show a step-by-step guide on how to install Jenkins on a Windows platform.
Audience
This document can be referred by anyone who wants to install the latest Jenkins version on Windows.
Before proceeding further with the installation, make sure your system satisfies the following requirements:
System Requirements for Jenkins Installation
Minimum hardware requirements
- 256 MB of RAM
- 1 GB of drive space (although 10 GB is a recommended minimum if running Jenkins as a Docker container)
Recommended hardware configuration for a small team size
- 4 GB+ of RAM
- 50 GB+ of drive space
Software requirements
Jenkins project performs a full test flow with the following JDK/JREs:
- JDK / JRE 8 - 64 bits
- JDK / JRE 11 - 64 bits
For more details refer to the Java Requirements official document.
Web browser
For more details, you can check Web Browser Compatibility page.
JDK Installation
Below are the steps of JDK installation, if not installed initially:
STEP 1: Navigate to the website. Scroll to Java SE11 (LTS) and click on JDK Download.
STEP 2: Scroll to Java SE Development kit 11.0.10 and click on Windows x64 Installer.
STEP 3: Accept the Licence Agreement and download it.
STEP 4: You will be navigated to the Sign in page. If you don't have an account on Oracle, click on create account and proceed with the download.
STEP 5: Once downloaded, run the .exe to install JDK by double-clicking it. It might ask for permission before installation. Click on Yes to allow installer to execute. The Welcome Screen comes first.
STEP 6: Choose the installation path for jdk and click Ok. We can also choose the default path as well.
STEP7: Click on NEXT to start installation. Once it is completed it shows the success message as shown in the image below.
It is recommended to restart your system, further click on System Properties and choose Advance System Settings.
STEP 8: Choose the Environment Variable and set the User variable by assigning Variable name as JAVA_HOME and variable value as the path where Java is installed:
Click on Ok and then Apply.
Jenkins Installation
STEP 1: Navigate to the website and under Jenkins LTS system, click on Windows for the latest Jenkins package (currently it is 2.277.1)
STEP 2: Once the jenkins.msi is downloaded, open it and proceed.
STEP 3: Choose the Jenkins path.
STEP4: For Service logon credentials, choose Logon type as "Run Service as LocalSystem".
STEP 5: Choose the port available on the system and test it (recommended is 8080).
STEP6: Choose the JDK path and click Next.
Click on “Next”
STEP 7: Click the "Install" button to start the installation process.
STEP8: Please wait till the whole installation is completed.
STEP 9: Click on "Finish" after the installation is completed.
STEP 10: You will be redirected to a local Jenkins page by default. If page is not loaded by default, paste the URL http://localhost:8080 , with the chosen port in the browser.
After completing the Jenkins installation phase, we will proceed with its configuration set up.
STEP 11: For Unlocking Jenkins, copy the password from the file at C:\Windows\System32\config\systemprofile\AppData\Local\Jenkins\.jenkins\secrets (shown on screen) and paste it in the Administrator password field. Click on Continue.
STEP 12: We can either choose the Jenkins suggested plugins or manually select plugins to install. It’s preferable to choose "install suggested plugins". If not, we can install this later as well.
STEP 13: Choose "Install suggested plugins" and let the plugins install completely.
STEP 14: If you choose the Option "Select Plugins to Install", then select the plugins you want to install.
STEP 15: Create an admin user account by filling up the details.
STEP 16: Click Save and Finish to complete the Jenkins set up.
STEP 17: Click "Start using Jenkins" option.
STEP 18: Finally, the default Jenkins page will be shown as below.
STEP 19: Once we login as Admin, we can create multiple users for the team by choosing Manage Jenkins >>Manage User >> Create User; and completing the details.
Installing Plugins
For installing plugins, there are basically two methods. One is to directly download from the Available Section of the Manage Plugin.
Second, uploading the .hpi file. This method is generally used when an application/software plugin is not available for ready download.
Find below the steps for same:
Method 1:
1. Navigate to the left side menu and choose Manage Jenkins and then Manage Plugins.
2. Under the Available section, enter the name of the plugin in the search bar and click on ‘Install without Restart’.
Method 2
1. Navigate to left side menu and choose Manage Jenkins and then Manage Plugins.
2. Under the advanced section, scroll down to the Upload Plugin section.
3. Upload the .hpi file for the plugin (you can get the .hpi file from the official website of application/software.)
Some known errors during Installation
1. Under the Manage Plugin section, sometimes we see error as:
There were errors checking the update sites: SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
For this, certificates need to be installed. Follow the below steps (In Chrome browser):
- Click on the site icon in the address bar. Then select "Certificate" -> "Details" -> "Export" and save in format "Der-encoded binary, single certificate".
- Add the keystore file to JVM. Determine the location of cacerts. <JAVA PATH/cacerts>
- Import the example.cer file into cacerts using admin access of command line
keytool -import -alias example -keystore "< JAVA PATH/cacerts >" -file example.cer
Or, navigate to the Advanced tab in the Manage Plugin section. Scroll to Update site and replace https to http in URL mention.
2 . After installation, if Jenkins URL is not loading up and shows below error:
There could be a possibility that the JDK version is not correct as per requirement.
To verify, open command prompt and type java --version.
You can use the JDK installation steps mentioned above in Pre-requisites.
3. There could be a scenario where we need to configure more than one version of the JDK. In the pipeline, there may be a different environment(prod/qa/pre-prod) running and subsequently requiring different version of JDK. One of the best suited methods is to build the application using the java version which is close to the version used in the prod environment; as a lower JDK version can work with a higher version, but the reverse is not always true.
For resolving the issue, we can install JDK version on Jenkins by navigating to Manage Jenkins >> Global Tool Configuration>> Add JDK.
We can click on Add Jenkins, provide name and JAVA_HOME. Once the path of JAVA_HOME is entered, Jenkins will validate whether the installation directory exists for the specified JDK versions.
Click on Install automatically, and Jenkins will download and install the specified version of the JDK into the tools directory of the Jenkins home directory.
After all the settings for configuring the JDK are done, click Save at the bottom of the page to save the configuration.
Uninstalling Jenkins from Windows
There are multiple methods to uninstall Jenkins from Windows.
It can be done by using command prompt or using .msi file.
Below are the steps for uninstalling Jenkins and its slave services:
METHOD 1: Using command prompt
STEP 1: Simply go to the directory where Jenkins is installed.
STEP 2: Then open up a cmd in that directory. (cmd in administrator mode is preferable)
STEP 3: jenkins.exe uninstall (this name could be different in case of slave Jenkins services like jenkins-slave.exe or something similar. The application will be present in the folder)
For Jenkins as services, do the same thing. At the end we can delete the directories (e.g. C:\Program Files (x86)\Jenkins or wherever Jenkins was installed)
METHOD 2: By Using .msi file
STEP 1: Navigate to the path where the .msi (Windows Installer) file which we used to install Jenkins has been placed. In general, it will be in .zip folder of Download, but it may vary.
STEP 2: Double-click the .msi file inside the compressed folder.
Note: Don't extract the file.
STEP 3: Since Jenkins is already installed, Windows Installer will give you options to customize it or uninstall it.
STEP 4: Choose "Uninstall." option
STEP 5: Once uninstalled, delete the installation folder (e.g. C:\Program Files (x86)\Jenkins or wherever Jenkins was installed)
Conclusion
Since Jenkins has been installed and the basic configuration is completed, you can proceed with creating a continuous integration pipeline. If you want to know more about Jenkins, you can check out the Jenkins Certification Training Course and learn about server automation, continuous integration, and configuration tools. You can also check out our other blogs on DevOps.
Get Free Consultation
By submitting, I accept the T&C and
Privacy Policy