I use Jenkins every day for running different tasks. For example I use it to run cron on sites, build new platforms in Aegir, and run various shell scripts that do different things. It's really easy to setup, but kinda tricky.
As root, or with
sudo you run the following commands:
$ wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add - $ echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list $ aptitude update $ aptitude safe-upgrade $ aptitude install jenkins openjdk-7-jre
The jdk that jenkins comes with by default doesn't work well and you'll run into problems like this. After that, start jenkins
$ /etc/init.d/jenkins start
And you should have a jenkins instance running at http://localhost:8080. Now it's time to secure it and start building things.