Skip to content

Instantly share code, notes, and snippets.

@gumayunov
Forked from lox/install_jenkins.sh
Created March 29, 2012 15:27
Show Gist options
  • Save gumayunov/2238521 to your computer and use it in GitHub Desktop.
Save gumayunov/2238521 to your computer and use it in GitHub Desktop.
A script for installing Jenkins on Ubuntu 10.04
#!/bin/bash
# install the beast
sudo aptitude install openjdk-6-jre git-core
# update rubygems
wget http://production.cf.rubygems.org/rubygems/rubygems-1.7.2.zip
tar xzvf rubygems-1.7.2.tgz
cd rubygems-1.7.2
sudo ruby setup.rb
sudo ln -fs /usr/bin/gem1.8 /usr/bin/gem
# install jenkins
sudo gem install jenkins jenkins-war
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment