-
-
Save Caesarsage/5da51fff02bb945c932029c4ba48d064 to your computer and use it in GitHub Desktop.
Bash script Setup for jenkins instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sleep 30 | |
sudo yum update –y | |
sudo wget -O /etc/yum.repos.d/jenkins.repo \ | |
https://pkg.jenkins.io/redhat-stable/jenkins.repo | |
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key | |
sudo yum upgrade | |
sudo amazon-linux-extras install java-openjdk11 -y | |
sudo yum install jenkins -y | |
sudo systemctl enable jenkins | |
sudo systemctl start jenkins | |
sudo systemctl status jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment