Jenkins Setup in Windows


This tutorial is about Jenkins setup in Windows and shows you how you can configure the most popular build tool in Windows environment. If you have ever worked on production support or support project where you need to monitor the applications as well as you need to enhance the functionalities of the application then you may find Jenkins setup in Windows server.

Most notable features of Jenkins:

  • Jenkins is the leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
  • Jenkins is a self-contained Java-based program, ready to run out-of-the-box, with packages for Windows, Mac OS X and other Unix-like operating systems.
  • Jenkins can be easily set up and configured via its web interface, which includes on-the-fly error checks and built-in help.
  • As an extensible automation server, Jenkins can be used as a simple CI server or turned into the continuous delivery hub for any project.
  • With hundreds of plugins in the Update Center, Jenkins integrates with practically every tool in the continuous integration and continuous delivery toolchain.
  • Jenkins can be extended via its plugin architecture, providing nearly infinite possibilities for what Jenkins can do.
  • Jenkins can easily distribute work across multiple machines, helping drive builds, tests and deployments across multiple platforms faster.

Related Posts:


Minimum Recommended Configuration:

Java 8 (either JRE or JDK)

256MB free memory

1GB+ free disk space

Recommended Configuration for Small Team:

Java 8

1GB+ free memory

50GB+ free disk space

Jenkins Setup In Windows

Please go through the following steps to understand how to setup Jenkins in Windows System.

Step 1. Download the windows setup file

Step 2. Extract the downloaded zip file and double-click on msi file. You will see the following installation wizard.

Jenkins setup in windows

Step 3. Click on Next and select the Destination folder where you want to keep the installed files.

Step 4. Click on Install.

Jenkins setup in windows

Step 5. Now click on Next, you will see the following screen.

Jenkins setup in windows

Step 6. Click on Finish.

Jenkins setup in windows

Step 7. Once you click on Finish, you will see below screen.

Jenkins setup in windows

Step 8. Now copy the initial password from the above mentioned path in red color text and paste it to the input box. Click on Continue.

Step 9. Now wait for few moments and you will get the below screen. Now it depends on you which plugin you would choose to install.

Jenkins setup in windows

Step 10. Now if you open “Select plugins to install”, you can customize your plugins installations or if you choose “Install suggested plugins”, you will see the below screen where installation gets started with the default chosen plugins

Jenkins setup in windows

Step 11. Once plugins installations finished you will be redirected to the following user creation screen. Fill all the fields and click on “Save and Finish”.

Jenkins setup in windows

Step 12. Now you see the following screen.

Jenkins setup in windows

Step 13. Now click on “Start using Jenkins”, you will get inside the Jenkins.

Jenkins setup in windows

Step 14. Now you would be able to create new job, Manage Jenkins etc.

The Jenkins URL is http://localhost:8080/ and you have to use the credentials which you have created using user creation page above.

Changing Default Port 8080

Open the Jenkins.xml file located at C:\Program Files\Jenkins\jenkins.xml and you will see “–httpPort=8080” under <arguments/> tag.

Now change 8080 to any other port, for example, 9090.

Now if you try to access using new port then you will get error “The site can’t be reached”.

You need to restart the Jenkins service in order to use the new port.

Open Windows Services winzard by writing Services in the run command and select Jenkins.

Now click on Stop and then Start.

Jenkins setup in windows

Now access the Jenkins using new port http://localhost:9090/.

That’s all. You have successfully done Jenkins setup in Windows.

Related Posts:

Thanks for reading.

Leave a Reply

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