Skip to content

Instantly share code, notes, and snippets.

@jbleduigou
Created February 5, 2020 20:16
Show Gist options
  • Save jbleduigou/c8fb6ba94a5ee0cf6dc329eeb90067ef to your computer and use it in GitHub Desktop.
Save jbleduigou/c8fb6ba94a5ee0cf6dc329eeb90067ef to your computer and use it in GitHub Desktop.
jenkins-aws.sh
#!/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