jenkins + Vagrantfile

This commit is contained in:
phil
2025-02-07 23:23:27 +01:00
parent 55330d41e1
commit 3816043214
2 changed files with 71 additions and 0 deletions

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