Skip to content

Instantly share code, notes, and snippets.

@Savjee
Created March 5, 2016 20:48

Revisions

  1. Savjee created this gist Mar 5, 2016.
    15 changes: 15 additions & 0 deletions commands
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    # 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