Created
February 5, 2020 20:16
-
-
Save jbleduigou/c8fb6ba94a5ee0cf6dc329eeb90067ef to your computer and use it in GitHub Desktop.
jenkins-aws.sh
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
#!/bin/bash | |
yum update -y | |
yum install java-1.8.0-devel -y | |
yum install git -y | |
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo | |
rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key | |
yum install jenkins -y | |
service jenkins start | |
chkconfig --add jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment