Installing Jenkins on Windows
Jenkins supports two types of releases based on the organization needs:
Long term support release (LTS): Long-term support releases (LTS) are available every 12 weeks. They are stable and are widely used and tested. Basically, this release is intended for end users.
Weekly release: This release is available in every week by fixing bugs in its earlier version. These releases are intended towards plugin developers.
We will use the long term support release (LTS) though the process remains the same for Weekly release.
Install Java Version 8
Since Jenkins is a Java based application, therefore Java is a must.
To download the Java Click here. Select file according to your platform.
Then install the Java as follows:
Download Jenkins war File
This war is required to install Jenkins.
The official website for Jenkins is https://jenkins.io/
When you click the given link, you will get the home page of the Jenkins official website as given below:
Click on the Download button.
Click on Generic Java Package (.war) to download the Jenkins war file.
Open the command prompt and go to the directory where the Jenkins.war file is located. And then run the following command:
When you run this command, various tasks will run, one of which is the extraction of the war file which is done by an embedded webserver called winstone.
Click on Allow access button to allow the access.
Now you can access the Jenkins. Open your browser and type the following url on your browser:
This url will bring up the Jenkins dashboard.