Created
January 15, 2024 05:58
-
-
Save Ajinkgupta/cba7bffe9fc1e95c7b65bfcfb32aba02 to your computer and use it in GitHub Desktop.
jenkins
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
curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee \/usr/share/keyrings/jenkins-keyring.asc > /dev/null | |
Then add a Jenkins apt repository entry: second command:- | |
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 update | |
sudo apt install fontconfig openjdk-17-jre | |
java -version | |
openjdk version "17.0.8" 2023-07-18 | |
OpenJDK Runtime Environment (build 17.0.8+7-Debian-1deb12u1) | |
OpenJDK 64-Bit Server VM (build 17.0.8+7-Debian-1deb12u1, mixed mode, sharing) | |
sudo apt-get update | |
sudo apt-get install jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment