ajout jenkins

This commit is contained in:
phil
2025-02-07 23:02:17 +01:00
parent 367f8578bd
commit 55330d41e1
3 changed files with 31 additions and 0 deletions

18
jenkins/install-jenkins Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
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'
sudo apt-get update
sudo apt-get install -y jenkins
sudo systemctl start jenkins
sudo systemctl enable jenkins
sudo systemctl status jenkins
sudo apt-get install -y git ansible