Jenkins on Ubuntu

Before we can install Jenkins, we have to add the key and source list to apt. This is done in 2 steps, first we’ll add the key.

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

Secondly, we’ll create a sources list for Jenkins.

echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list
apt-get update
apt-get install jenkins

Now that Jenkins is running, go to ci.company.net:8080. You’ll be welcomed by the default Jenkins screen.

Advertisements