Professional Documents
Culture Documents
Disk Space We need at least 1 GB of space in our hard drive for Jenkins
Hardware Requirements
Software Requirements
Java The WAR (Web Application Resource) file can be run in any container
Container that supports Servlet 2.4/JSP 2.0 or later. (For example Tomcat 5).
• Java 8 - either a Java Runtime Environment (JRE) or a Java Development Kit (JDK) is fine
Note: This is not a requirement if running Jenkins as a Docker container.
Release Types
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.
1
Install Java Version 8
When you click the given link, you will get the home page of the Jenkins official website
2
Click on Generic Java Package (.war) to download the Jenkins war file.
Place the war file in any folder.
Open the command prompt and go to the directory where the Jenkins.war file is located. And
then run the following command:
1. C:/Java -jar Jenkins.war
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.
After the command is run, various tasks will run, one of which is the extraction of the war file
which is done by an embedded webserver called winstone.
Once the processing is complete without major errors, the following line will come in the
output of the command prompt.
3
Click on Allow access button to allow the access.
Accessing Jenkins
Now you can access the Jenkins. Open your browser and type the following url on your
browser:
Unlocking Jenkins
When you first access a new Jenkins instance, you are asked to unlock it using an
automaticallygenerated password.
1. Browse to localhost:8080 (or whichever port you configured for Jenkins when
installing it) and wait until the Unlock Jenkins page appears.
2. From the Jenkins console log output, copy the automatically-generated
alphanumeric password (between the 2 sets of asterisks).
3. On the Unlock Jenkins page, paste this password into the Administrator
password field and click Continue.
4
or
5
Click on install
6
If you create a new user you will be continued as new user or Skip this and continue as
admin.
7
Click on start using jenkins