Skip to content

Instantly share code, notes, and snippets.

@Ajinkgupta
Created January 15, 2024 05:58
Show Gist options
  • Save Ajinkgupta/cba7bffe9fc1e95c7b65bfcfb32aba02 to your computer and use it in GitHub Desktop.
Save Ajinkgupta/cba7bffe9fc1e95c7b65bfcfb32aba02 to your computer and use it in GitHub Desktop.
jenkins
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