Difference between revisions of "Jenkins"

From PKC
Jump to navigation Jump to search
Line 6: Line 6:
For installation on Ubuntu 20.04, administrators of the machine can follow the instructions below<ref>Digital Ocean, How to Install Jenkins on Ubuntu 20.04, https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-20-04</ref>:
For installation on Ubuntu 20.04, administrators of the machine can follow the instructions below<ref>Digital Ocean, How to Install Jenkins on Ubuntu 20.04, https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-20-04</ref>:


Step 1: Update and Install Java
Step 1: Add the repository key
  sudo apt get
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
 
Step 2: Append the Debian repository package to source.list.d/jenkins.list
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
 
Step 3: Update all software through apt update
sudo apt update
 
Step 4: Install Jenkins and its dependencies
  sudo apt install Jenkins


Then, one needs to install Java Development Kit:
sudo apt install openjdk-8-jdk


=References=
=References=

Revision as of 03:15, 14 June 2021

Jenkins, originally called Hudson, is an Open Source CI/CD tool.


Installation Guide

For installation on Ubuntu 20.04, administrators of the machine can follow the instructions below[1]:

Step 1: Add the repository key

wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -

Step 2: Append the Debian repository package to source.list.d/jenkins.list

sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'

Step 3: Update all software through apt update

sudo apt update

Step 4: Install Jenkins and its dependencies

sudo apt install Jenkins


References