Forked from snallami/Jenkins installation on Amazon Linux
Created
March 23, 2017 15:58
-
-
Save edmiranda/57907813cef66ebe246d7420aed6848d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sud0 -i | |
yum update -y | |
# Get Jenkins repository | |
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo | |
# Get jenkins repository key | |
rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key | |
# install jenkins | |
yum install jenkins | |
service jenkins start | |
# starts automatically on system startup | |
chkconfig jenkins on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment