Skip to content

Instantly share code, notes, and snippets.

@chandradeoarya
Last active August 8, 2022 14:25
Show Gist options
  • Save chandradeoarya/63fae5cf0444653c128808a0205c9869 to your computer and use it in GitHub Desktop.
Save chandradeoarya/63fae5cf0444653c128808a0205c9869 to your computer and use it in GitHub Desktop.
sudo apt update -y
sudo apt-get install openjdk-11-jdk -y
sudo apt-get install git -y
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key |sudo gpg --dearmor -o /usr/share/keyrings/jenkins.gpg
sudo sh -c 'echo deb [signed-by=/usr/share/keyrings/jenkins.gpg] http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt install jenkins -y
sudo systemctl start jenkins.service
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment