ajuste install-jenkins pour certs ...

This commit is contained in:
sio user 2025-02-13 11:45:07 +01:00
parent fcf2e401c2
commit b33711c33d

View File

@ -3,8 +3,12 @@
sudo apt-get update sudo apt-get update
sudo apt-get install -y gnupg openjdk-17-jdk sudo apt-get install -y gnupg openjdk-17-jdk
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - #wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' #sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.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-stable binary/ | sudo tee \ /etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update sudo apt-get update
sudo apt-get install -y jenkins sudo apt-get install -y jenkins