How to Install Jenkins on Ubuntu 22.04
Jenkins is a leading open-source automation server for building, testing, and deploying software.
Automate your workflows on a VPS-SERVER HOST server.
Complete Installation Script
#!/bin/bash
# Jenkins Installer for Ubuntu 22.04
apt-get update
apt-get install -y openjdk-11-jre
curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | tee /usr/share/keyrings/jenkins-keyring.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] https://pkg.jenkins.io/debian-stable binary/ | tee /etc/apt/sources.list.d/jenkins.list > /dev/null
apt-get update
apt-get install -y jenkins
Copy