Jenkins installieren

Installation unter Debian

wget -q -O – https://pkg.jenkins.io/debian-stable/jenkins.io.key | gpg –dearmor -o /etc/apt/trusted.gpg.d/jenkins.gpg
echo „deb https://pkg.jenkins.io/debian-stable binary/“ | tee /etc/apt/sources.list.d/jenkins.list
apt-get update -y
apt install jenkins -y
systemctl start jenkins.service

Installation unter Alma- und Rocky Linux

rpm –import https://pkg.jenkins.io/redhat/jenkins.io.key
tee /etc/yum.repos.d/jenkins.repo<<EOF

[jenkins]
name=Jenkins-stable
baseurl=http://pkg.jenkins.io/redhat-stable
gpgcheck=1

 

 

 

Share