Skip to content

Instantly share code, notes, and snippets.

@troszok
Last active August 29, 2015 13:57
Show Gist options
  • Save troszok/9598077 to your computer and use it in GitHub Desktop.
Save troszok/9598077 to your computer and use it in GitHub Desktop.
install_jenkins_on_ubuntu.sh
# run it with command:
# bash -c "$(curl -fsSL https://gist.github.com/troszok/9598077)"
# wget -O - https://gist.github.com/troszok/9598077 | bash
sudo apt-get -q -y install software-properties-common python-software-properties
sudo add-apt-repository ppa:webupd8team/java
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -
echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list
apt-get update -y
apt-get install -q -y jenkins oracle-java7-installer git curl build-essential
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment