Jenkins setup in Windows 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 application then you may find Jenkins setup in Windows server mainly.

Most notable features of Jenkins are given below

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.

For more information please look here https://jenkins.io/

You may also like to read:

Manage Jenkins – Configuring JDK, GIT and Maven

Creating and building jobs in Jenkins

Jenkins: Detecting the current branch failed: ref HEAD is not a symbolic ref

Deploy both war and jar files into Nexus using maven in Jenkins

System Requirements for Jenkins setup in Windows

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

Instructions for Jenkins Setup In Windows

Step 1. Download the windows setup file https://jenkins.io/download/

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. Now click on Next, you will see the following screen

Jenkins setup in windows

Step 5. Click on Install

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.

Jenkins setup in windows

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. So the Jenkins URL is http://localhost:8080/ and you have to use the credentials which you have created using user creation page above.

Step 15. Optional – changing the default port 8080

Open the Jenkins.xml file (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

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

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

You may also like to read:

Manage Jenkins – Configuring JDK, GIT and Maven

Creating and building jobs in Jenkins

Jenkins: Detecting the current branch failed: ref HEAD is not a symbolic ref

Deploy both war and jar files into Nexus using maven in Jenkins

Thanks for reading.

Tags:

I am a professional Web developer, Enterprise Application developer, Software Engineer and Blogger. Connect me on Roy Tutorials | TwitterFacebook Google PlusLinkedin | Reddit

Leave a Reply

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