Jenkins Install Linux 1

Jenkins Install Linux

curl -fsSL | sudo tee \
  /usr/share/keyrings/jenkins-keyring.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ binary/ | sudo tee \
  /etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update
sudo apt-get install jenkins

Here is what the above code is Doing:
1. Add the GPG key for the official Jenkins repository to the system.
2. Add the Jenkins repository to the system’s software repository list.
3. Update the local package cache.
4. Install the latest stable version of Jenkins.

Similar Posts