19 lines
453 B
Bash
19 lines
453 B
Bash
#!/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
|
|
|