Jenkins Installation on Windows 10 - Generic Java Package .war Supports opening browser and executing tests without any additional confi...

Jenkins Installation - Install Jenkins in Windows 10 [Generic Java Package (.war)]


Jenkins Installation on Windows 10 - Generic Java Package .war
Supports opening browser and executing tests without any additional configuration

Prerequisite 

Minimum Hardware Requirements

Ram - 256 MB

Hard Disk Space if running without Docker Container - Minimum 1 GB

Hard Disk Space if running with Docker Container - Minimum 10 GB

Recommended Hardware Requirements

Ram - 1 GB or More

Hard Disk Space if running without Docker Container - 20 GB+

Hard Disk Space if running with Docker Container - 50 GB +

Recommended Software Requirements

Java 8 runtime environments, both 32-bit and 64-bit versions are supported

Older versions of Java are not supported

Java 9 and Java 10 are not supported

Java 12 is not supported

Step 1 - Go to https://www.jenkins.io/download/ download 

Generic Java Package (.war)





Step 2 - Copy this file to any drive after download example 

 F:DevOps\



Step 3 -  Open Windows command prompt  and enter below command

    java -jar F:\DevOps\jenkins.war 

Note - Jenkins by default will try to to use port 8080, if we already have port 8080 being used by any other program, then we will get an error , in which case we have to use a different HTTP port as below.

   java -jar F:\DevOps\jenkins.war --httpPort=8088  

You can pass any port number like 8085, 8086 etc, but make sure its not being used by any program.


Step 4 - After the above command is executed, we get the message  below

Jenkins is fully up and running.



Step 5 - Now open the browser and enter the below URL

http://localhost:8088/

Note - Use the port which you have used in the place of 8088 in the URL, if you have not specified any port while installing Jenkins then use below URL.

http://localhost:8080/



Step 6 -  Go to path specified in the Unlock Jenkins page above and copy the password and enter in the Unlock Jenkins Page and click on Continue button.



Step 7 - Select "Install Suggested Plugins"


Step 8 - You will see "Getting Started" page - Installing some of the suggested components.


Step 9 - After the components are installed , you will land in "Create First Admin User" page

Fill all the details and click Save and Continue button.



Step 10 -  Instance Configuration page - leave it to the URL what it exists and click Save and Finish button.

Finally, Jenkins is installed and is up and running




0 comments: