Jenkins is an automation server and a steady integration software. It offers a number of plugins for constructing deployments and automation on your functions. You need to use Jenkins as a easy CI (Steady Integration) server or configure this for the CD (Steady Supply) hub. With Jenkin’s assist, you may effectively distribute work throughout a number of machines, serving to drive builds, assessments, and deployments throughout a number of platforms quicker.

This information will assist you to to put in Jenkins on Ubuntu 20.04 LTS system. Let’s undergo the tutorial to put in Jenkins on an Ubuntu system.

Step 1 – Putting in Java

Jenkins required Java to run on any working techniques. The newest variations of Jenkins is take a look at with Java 8 & 11 variations. To satisfy the necessities, you may set up OpenJDK in your system.

To put in OpenJDK Java in your Ubuntu system, sort:

sudo apt replace
sudo apt set up default-jdk

As soon as the set up completed, examine the Java model by typing the under command:

java -version

openjdk model “11.0.8” 2020-07-14
OpenJDK Runtime Surroundings (construct 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (construct 11.0.8+10-post-Ubuntu-0ubuntu120.04, combined mode, sharing)

Step 2 – Allow Jenkins PPA

Jenkins crew offers official repositories for package deal administration for the favored working system for putting in Jenkins on a Linux VPS. Use the under instructions to allow Jenkins PPA in your Ubuntu system. This repository accommodates required packages to put in Jenkins on Ubuntu Linux.

wget -q -O – | sudo apt-key add –
sudo sh -c ‘echo deb binary/ > /and so on/apt/sources.listing.d/jenkins.listing’

Step 3 – Set up Jenkins on Ubuntu 20.04

Replace the apt-get cache earlier than putting in Jenkins on Ubuntu. After that, you may set up Jenkins on an Ubuntu system by working the under instructions.

sudo apt replace
sudo apt set up jenkins

As soon as the set up complected, Jenkins service run on port 8080. If the identical port is occupied by some other service in your system, You’ll be able to edit /and so on/default/jenkins file and alter its port by setting HTTP_PORT worth.


and restarted Jenkins service after making modifications

sudo systemctl restart jenkins

Step 4 – Entry Jenkins Net Interface

Entry your server on port 8080 (Or up to date port) in your favourite internet browser. The default set up password may be discovered at /var/lib/jenkins/secrets and techniques/initialAdminPassword as exhibiting within the under picture.

How to get Jenkins installed on Ubuntu 20.044

Now choose the suitable choice to put in the plugin. You’ll be able to select to put in prompt plugins or choose the required plugins choices.

How to get Jenkins installed on Ubuntu 20.044

Subsequent, create an admin account on your Jenkins setup. Which is required to log in to Jenkins.

How to get Jenkins installed on Ubuntu 20.044

After the profitable completion of the Jenkins setup wizard, You’ll be redirected to Jenkins dashboard.

How to get Jenkins installed on Ubuntu 20.044

Step 5 – Set up Required Jenkins Plugin

Login to Jenkins dashboard and navigate to Handle Jenkins >> Handle Plugins >> Obtainable Tab and choose the plugins to put in.

How to get Jenkins installed on Ubuntu 20.044

To replace present put in plugins in Jenkins Handle Jenkins >> Handle Plugins >> Replace Tab

Step 6 – Add Extra Accounts

To create extra accounts, login to the Jenkins admin panel after which navigate to Handle Jenkins >> Handle Customers >> Create Consumer . Enter the required particulars and click on Create Consumer.

How to get Jenkins installed on Ubuntu 20.044


This tutorial lets you set up Jenkins in your Ubuntu 20.04 Linux system. Now you can configure your software with CI/CD structure.