How To Install Jenkins On Ubuntu 18.04

Install Jenkins on Ubuntu 16.04

How To Install Jenkins On Ubuntu 18.04

Introduction to Jenkins

Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software. You can also tell like for CI & CD, Jenkins comes and play a handy role. 

Features of Jenkins

  1. Continuous Integration [CI] & Continuous Delivery [CD]
    Jenkins works as automated servers which take codes from the developer side end and turned into the continuous delivery.
  2. Easy to Configure
    Jenkins can be easy to configure and comes with a web user interface which makes it easy to use.
  3. Distributed in nature
    Jenkins can easily distribute work across multiple machines, helping drive builds, tests and deployments across multiple platforms faster. You can integrate Jenkins with GitHub, svn etc.
  4. Plugin supports
    Jenkins supports hundreds of plugins which you can download directly from Update Center.


  1. Ubuntu 18.04 OS 
    You can install Ubuntu 18.04 in the virtual box also for learning purpose.
  2. Java JDK Install
    Make sure java JDK latest version should be installed into the system. 
  3. 1 GB RAM
    Make sure, the system comes with at least 1 GB RAM size.
  4. sudo access
    Used can able to access to perform sudo commands.
  5. 8080 port should be open and available
    Make sure 8080 port should not occupy with another service, because Jenkins use 8080 port by default.

Now the time came to learn steps about how to install Jenkins on Ubuntu 18.04.

Step 1:-  Add Jenkins repository key to the system.

[css]$ wget -q -O – | sudo apt-key add -[/css]

Step 2:- Check Source List 

[css]$ sudo sh -c ‘echo deb binary/ > /etc/apt/sources.list.d/jenkins.list'[/css]

Step 3:- Update the system to make sure apt-get can able to get value from Jenkins repository

[css]$ sudo apt update[/css]

Step 4:- Install Jenkins

[css]$ sudo apt install jenkins[/css]

Bingo, now you successfully installed Jenkins on Ubuntu 18.04 and you learn very well about how to install Jenkins on Ubuntu 18.04.  Now we need to start our Jenkins server.

For Starting the Jenkins server, you can use systemctl

[css]$ sudo systemctl start jenkins[/css]

For Checking Status of Jenkins running server, you can use the statuscommand

[css]$ sudo systemctl status jenkins [/css]

As everything is running fine, so you can start Jenkins server, for that, you have to visit tohttp://IP_ADDRESS OR LOCALHOST:8080 open Jenkins Web User interface.


I hope, you learn how to install Jenkins on Ubuntu 16.04 and your Jenkins server is running. In case of any confusion, you can comment down and I will try my best to reply as soon as possible. 

If you want to visit Jenkins official website, then please click here

For other tutorials, related to Jenkins and other technology, please visit my website 

If you are using Ubuntu 16.04, then please check my article “How to Install Jenkins on Ubuntu 16.04”