How to install Jenkins on Ubuntu 18.04 (Debian Linux)

Jenkins is open source continuous integration server  written in Java. Jenkins ( is Easy to install, Easy to use, Multi-technology Multi-platform, Widely used, Extensible and Free tool for Continuous Integration. Jenkins detects changes in Subversion/GIT…, performs tasks, repeatedly such as Build, Test, Deploy, Package, Integrate.. Jenkins is A fork of the original Hudson project an is Under development since 2005. Find more on . Jenkins plugins extensibility makes Jenkins to adapt to many systems. Jenkins provides everything for a robust continuous integration system which helps a lot for team that practice Agile Jenkins continuously providing access to the working copies of software which supports the Agile principle.

Let us see How we can install Jenkins on Ubuntu 18.04 (Debian Linux).

Install Java

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt install oracle-java8-installer
sudo apt install oracle-java8-set-default

Install Jenkins

wget -q -O - | sudo apt-key add -

sudo apt-add-repository "deb binary/"

sudo apt-get update
sudo apt-get install jenkins

Login to Jenkins Server

After the Jenkins is installed It can be opened on Browser On the address http://localhost:8080 .

To login to our Jenkins server installation we need to first get the initial password. Jenkins Will indicate the location of initial password.

Jenkins initial password

To view this password Run the following command in terminal

$ sudo cat /var/lib/jenkins/secrets/initialAdminPassword


Now in the next step choose -> install suggested plugins and wait for the plugins to install.

jenkins choose install selected plugins

Next create first admin user and provide your admin credentials.

jenkins create first admin user

Jenkins Server successfully installed.

Video Instructions

Online Jenkins Course – Master Jenkins CI For DevOps and Developers ( Learn how to build automated continuous integration pipeline with Jenkins. Take your DevOps skills to the next level.


Partner Sites

Be the first to comment

Leave a Reply

Your email address will not be published.