Compare commits

...

2 Commits

Author SHA1 Message Date
sio user
e2bfe5de51 schema d2 + nettoyage 2025-02-21 10:30:04 +01:00
phil
10379acf6f typo 2025-02-19 23:26:17 +01:00
3 changed files with 12 additions and 6 deletions

@ -1,12 +1,12 @@
# Jenkins
## Présentation
Le script ''install-jenkins.sh'' installe l'application CI/CD **jenkins** sur Debian 12 avec openJDK 17 à partir du dépot jenkins.
Le script **install-jenkins.sh** installe l'application CI/CD **jenkins** sur Debian 12 avec openJDK 17 à partir du dépot jenkins.
Il installe également les applications **git** et **ansible**.
Jenkins est accessible sur le port 8080
Le script fonctione sur une VM KVM ou sur un conteneur LXC.
Le script fonctionne sur une VM KVM ou sur un conteneur LXC.

9
jenkins/jenkins-proxy.d2 Normal file

@ -0,0 +1,9 @@
direction: right
client.shape: cloud
client -> jenkins: " :443"
jenkins: {
caddy
jenkins
caddy -> jenkins: ":8080"
}

@ -3,9 +3,6 @@
sudo apt-get update
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 -
#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