Created
March 5, 2016 20:48
-
-
Save Savjee/59ced69a1f5a54eb3dc9 to your computer and use it in GitHub Desktop.
Jenkins-install-commands
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
# Install JRE & JDK | |
sudo apt-get install openjdk-7-jre | |
sudo apt-get install openjdk-7-jdk | |
# Download the security key for the Jenkins repository | |
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
# Add the key to the trusted keys for apt-get | |
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' | |
# Update the list of packages | |
sudo apt-get update | |
# Install Jenkins | |
sudo apt-get install jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment