Skip to content

Instantly share code, notes, and snippets.

@lox
Created April 20, 2011 18:18
Show Gist options
  • Save lox/932206 to your computer and use it in GitHub Desktop.
Save lox/932206 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