Jenkins Debian Packages
This is the Debian package repository of Jenkins to automate installation and upgrade. To use this repository, first add the key to your system:
Then add a Jenkins apt repository entry:
curl -fsSL https://pkg.jenkins.io/debian/jenkins.io.key | sudo tee \ /usr/share/keyrings/jenkins-keyring.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ https://pkg.jenkins.io/debian binary/ | sudo tee \ /etc/apt/sources.list.d/jenkins.list > /dev/null
Update your local package index, then finally install Jenkins:
sudo apt-get update sudo apt-get install jenkins
The apt packages were signed using this key:
pub rsa4096 2020-03-30 [SC] [expires: 2023-03-30] 62A9756BFD780C377CF24BA8FCEF32E745F2C3D5 uid Jenkins Project
sub rsa4096 2020-03-30 [E] [expires: 2023-03-30]
You will need to explicitly install a Java runtime environment, because Oracle's Java RPMs are incorrect and fail to register as providing a java dependency. Thus, adding an explicit dependency requirement on Java would force installation of the OpenJDK JVM.
- 2.164 (2019-02) and newer: Java 8 or Java 11
- 2.54 (2017-04) and newer: Java 8
- 1.612 (2015-05) and newer: Java 7
See the installation guide for more information, including how Jenkins is run and where the configuration is stored, etc.