Skip to content

Instantly share code, notes, and snippets.

@sheikhnavezz
Created March 9, 2024 17:06
Show Gist options
  • Save sheikhnavezz/26714294577296e1306e038c1b02d870 to your computer and use it in GitHub Desktop.
Save sheikhnavezz/26714294577296e1306e038c1b02d870 to your computer and use it in GitHub Desktop.
This is shell script file for Steps for installing jenkins (ubuntu 22.04)
sudo apt install fontconfig openjdk-17-jre -y
sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \
https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
/etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update
sudo apt-get install jenkins -y
@sheikhnavezz
Copy link
Author

sheikhnavezz commented Mar 9, 2024

clone this file and then use
bash jenkins_install.sh (Hence, you'll be able to install jenkins)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment