Jenkins Installation in Ubuntu 20.04
JDK8 or OpenJDK8 should be installed.
$ wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
$ sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
$ sudo apt-get update && sudo apt-get install -y jenkins
$ sudo vi /etc/init.d/jenkins
add to PATH
:/opt/jdk/bin
$ sudo service jenkins restart
$ sudo service jenkins status
http://
Get the default password:
$ sudo cat /var/lib/jenkins/secrets/initialAdminPassword