Created
July 25, 2017 17:46
-
-
Save JohnProg/6fa0859045acaa70835d0593f9a8c100 to your computer and use it in GitHub Desktop.
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
sudo apt-get install openjdk-7-jre | |
sudo apt-get install openjdk-7-jdk | |
java -version | |
# Download the security key for the Jenkins repository & add it to the keychain | |
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
# Add the Jenkins sources to apt | |
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 (will also install its dependencies, eg OpenJDK) | |
sudo apt-get install jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment