Installing Jenkins on Ubuntu Server 15.10

In this video I'll show you how you can install Jenkins on Ubuntu Server 15.10. The same instructions will also work for the latest release of Ubuntu Server (16.10).

Installation commands

# Download the security key for the Jenkins repository & add it to the keychain
wget -q -O - | sudo apt-key add -

# Add the Jenkins sources to apt
sudo sh -c 'echo deb binary/ > /etc/apt/sources.list.d/jenkins.list'

# Update the list of packages
sudo apt-get update

# Install Jenkins (will also install its dependencies, eg OpenJDK)
sudo apt-get install jenkins

The commands are also available on GitHub.

Useful resources