Last active
April 3, 2017 10:34
-
-
Save thelazyindian/9dfd4d57c7765934be2b01bd002b77cf to your computer and use it in GitHub Desktop.
Script to install Jenkins
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
tput setaf 1 | |
echo "Installing Jenkins..." | |
echo "" | |
tput setaf 7 | |
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo apt-get update -y | |
sudo apt-get install jenkins nginx openjdk-8-jre openjdk-8-jdk -y | |
tput setaf 1 | |
echo "" | |
echo "Jenkins Setup Complete" | |
tput setaf 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment