Created
March 9, 2024 17:06
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
clone this file and then use
bash jenkins_install.sh (Hence, you'll be able to install jenkins)