jenkins war file

Install Jenkins Server Using War File

If you want to Install Jenkins Server Using the war file So it can be done using java command on the server. I have already installed Jenkins using the rpm package.

You will need to download the Jenkins.war file from the official site of  Jenkins Download. It will take sometime to install the packages while installing there will be password visible So copy the password.

Check OutPort Change

Command is java -jar jenkins.war

install jenkins with war

If you wanna specify the port You can use below command

java -jar jenkins.war –httpPort=8080

In the end, You will see this message, INFO: Jenkins is fully up and running

ps -ef | grep java

check jenkins process

The Default Jenkins location will be ls -a .jenkins/

default jenkins location

With the war the Jenkins folder hidden. So you will have to check at /root/.jenkins

From Now follow this link to Install Jenkins

Jenkins installed with port 8080

jenkins installed

YouTube Link :

You’re done.

LEAVE A REPLY

Please enter your comment!
Please enter your name here