Skip to content

Instantly share code, notes, and snippets.

@kisel
Created February 22, 2014 14:51
Show Gist options
  • Save kisel/9156029 to your computer and use it in GitHub Desktop.
Save kisel/9156029 to your computer and use it in GitHub Desktop.
Installs Jenkins on Ubuntu
#!/bin/sh
apt-get update
apt-get install -y wget
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
apt-get update
apt-get install -y jenkins
service jenkins start
echo "Jenkins is available at 8080 port"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment