Phi Nguyen is a QA engineer with 11+ years of experience . His areas of experience include manual testing, automation testing, acceptance testing, regression testing, database testing, API testing and web/mobile apps testing. He currently works full time as a freelancer.

Become a JMeter and Continuous Testing Pro

Start Learning
Slack

Test Your Website Performance NOW! |

arrowPlease enter a URL with http(s)
Oct 07 2021

How to Install Jenkins on Windows

This post was updated in October 2021.

Jenkins is one of the most popular tools for continuous integration and continuous delivery on any platform. As a Java application, Jenkins has many plugins for automating almost everything at the infrastructure level. The use of Jenkins has widely increased rapidly due to a rich set of functionalities, which it provides in the form of plugins. In this blog we will show you a step by step guide of how to install Jenkins on a Windows platform.

 

Let’s get started.

 

First, you need to install OpenJDK. Jenkins currently only supports JDK8. If you need help with installing Java please look at the steps here. Once Java is running, you can install Jenkins.

 

1. Click here to download the latest Jenkins package for Windows (currently it is version 2.).

 

2. Once it is downloaded, it will open a wizard. Click “Next” to start the installation.



jenkins installation
3. Click the “Change…” button if you want to install Jenkins in another folder. In this example, I will keep the default option and click on the “Next” button.

jenkins installation
 

4. Enter the service logon credentials. It is recommended to select the second option “Run service as local or domain user” as it is safer. To run Jenkins service using this option, you have to enter the domain username and password. Click on the “Test Credentials” button to test your domain credentials and it will enable the “Next” button. Click on the “Next” button.



jenkins installation

 

5. Enter the port on which Jenkins will be running. Click on the “Test Port” button to validate if it is free. 

 

jenkins installation

 

6. Select the Java home directory and click on the “Next” button.
 

jenkins installation
 

7. Select other services that need to be installed with Jenkins and click on the “Next” button.

 

jenkins installation

 

8. Click the “Install” button to start the installation process.



jenkins installation

 

9. The installation will proceed.


jenkins installation

10. When done, click on “Finish” to complete the installation process.


jenkins installation
 

11. You will automatically be redirected to a local Jenkins page, or you can paste the URL http://localhost:8080 in a browser.


jenkins installation
 

12. To unlock Jenkins, copy the password from the file intialAdminPassword. This file should be found under the Jenkins installation path (set at step 3 in Jenkins installation). If a custom path was entered, then you should check that location.


Copy the content of the initialAdminPassword file and paste it in the Administrator password field. Then, click the Continue button.


jenkins installation

13. You can install either the suggested plugins or selected plugins you choose. To keep it simple, we will install the suggested plugins.

jenkins installation

 

14. Wait until the plugins are completely installed.



jenkins installation

 

15. The next thing that you should do is create an Admin user for Jenkins. Then, enter your details and click Save and Continue.



jenkins installation

 

16. Click on Save and Finish to complete the Jenkins installation.



jenkins installation

 

17. Now, click on Start using Jenkins to start Jenkins.



jenkins installation

 

18. Finally, here is the default Jenkins page.
 

jenkins installation

 

You can now start creating your continuous integration pipeline! To learn how to use Jenkins, check out these resources:

Whatever you do with Jenkins, make sure you add your performance tests to the CI cycle. To try out performance testing with BlazeMeter, request a live demo from our performance engineers. Or enter your URL in the box below and your test will start in minutes.

   
arrowPlease enter a URL with http(s)

Interested in writing for our Blog?Send us a pitch!