Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e2bfe5de51 | ||
|
10379acf6f |
jenkins
@ -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
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user