Skip to content

Instantly share code, notes, and snippets.

@Savjee
Created March 5, 2016 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Savjee/59ced69a1f5a54eb3dc9 to your computer and use it in GitHub Desktop.
Save Savjee/59ced69a1f5a54eb3dc9 to your computer and use it in GitHub Desktop.
Jenkins-install-commands
# 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