Skip to content

Instantly share code, notes, and snippets.

@Whistler092
Last active May 30, 2017 22:06
Show Gist options
  • Save Whistler092/45a7247be5c8220c2b261d1f9b397e13 to your computer and use it in GitHub Desktop.
Save Whistler092/45a7247be5c8220c2b261d1f9b397e13 to your computer and use it in GitHub Desktop.
Get Started with Jenkins

Based on Savjee Tutorial.

Install

  • sudo apt install openjdk-7-jre
  • sudo apt install openjdk-7-jdk
  • java -version

Add secury repository

# 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
  • sudo apt update
  • sudo apt install jenkins

Getting source code from git (Get started with Jenkins part 3)

  • sudo apt install git
@Whistler092
Copy link
Author

sudo apt install openjdk-8-jre
sudo apt install openjdk-8-jdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment