Thursday, February 5, 2015

Configure Jenkins in Arch Linux

Welcome all !!!!


I found interesting to use Jenkins for building my applications and thereby I am posting the same in details to configure Jenkins in Arch Linux
Open terminal & login as root admin, provide username and password if any.

$ sudo su


Using pacman command download the latest Jenkins

# pacman -Sy jenkins


We will get the following response, go ahead and accept download


resolving dependencies...
looking for inter-conflicts...

Packages (1): jenkins-1.598-1

Total Download Size: 56.19 MiB
Total Installed Size: 64.49 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
jenkins-1.598-1-any 56.2 MiB 1341K/s 00:43 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) installing jenkins [######################] 100%
This installation of Jenkins uses port 8090 by default.


The last comment shows the Jenkin uses 8090 as its default port (port will not be same for any machine).Simply open the browser and type http://localhost:8090. We find a message saying webpage is not available.

At this stage look for the path where Jenkins is download. Just type command to search


$ whereis jenkins


In my case it was downloaded at /var/lib/jenkins.

We can now confirm that the Jenkin is successfully installed in our system.

To start the Jenkins, either navigate to the Jenkin's path or root path and type

# systemctl start jenkins


Refreshing the web page (http://localhost:8090) will open Jenkins homepage.

Hurray, Jenkins is at our service.. !!!

2 comments: