sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
yum install jenkins
yum install java-1.8.0-openjdk
sudo service jenkins start
usermod -s /bin/bash jenkins
usermod -aG wheel jenkins
visudo -f /etc/sudoers.d/jenkins
jenkins ALL=(ALL) NOPASSWD:ALL