Skip to content

Installing Jenkins on Ubuntu

Semih edited this page May 3, 2017 · 1 revision

This part of the documentation is almost completely taken from here. This means you can find your answers there :)

Prior to starting, make sure that you have sudo rights. Then just copy and paste following command lines in terminal, in the given order.

wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -

echo deb http://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list

sudo apt-get update

sudo apt-get install jenkins

At this point you should have jenkins installed. Now it is time to start it. Copy and paste the following line into terminal and it will start running.

sudo systemctl start jenkins

You can check if it has started running using the following command line.

sudo systemctl status jenkins

You should see an output similar to this.

jenkins.service - LSB: Start Jenkins at boot time

Loaded: loaded (/etc/init.d/jenkins; bad; vendor preset: enabled)

Active:active (exited) since Thu 2017-04-20 16:51:13 UTC; 2min 7s ago

Docs: man:systemd-sysv-generator(8)

If you have reached here just navigate to localhost:8080 on your favorite web browser and you will meet jenkins!

The Pipeline

Radiators

Clone this wiki locally