Install Jenkins on Ubuntu in 10 Easy Steps

1 Year Subscription

Jenkins 2.x has lots of great functionalities that will make the CI pipeline smooth using the pipeline as code and reusable with shared libraries.

In this guide, we will walk you through the steps for installing and configuring Jenkins on a ubuntu server in 10 easy steps. Also, we have added the steps to install Jenkins using Docker on Ubuntu server.

Install and Configure Jenkins on Ubuntu

Follow the steps given below to install and configure Jenkins 2 on a ubuntu server.

Note: Centos/Rehat users follow this tutorial Install jenkins on centos/Redhat

Step 1: Log in to the server and update it.

sudo apt-get -y update

Step 2: Install open JDK 11.

sudo apt install openjdk-11-jdk -y

Step 3: Add the Jenkins Debian repo.

<code>wget -q -O - | sudo apt-key add -</code>
<code>sudo sh -c 'echo deb binary/ &gt; /etc/apt/sources.list.d/jenkins.list'</code>

Step 4: Update the packages

sudo apt-get update -y



Continue reading on source link

Leave a Comment

Your email address will not be published. Required fields are marked *

3 + 4 =