a repackaged hudson 2.0.0 binary deb w/ mod_proxy

I repackaged the 2.0.0 DEB from the Hudson project and made the following changes:

  • The default configuration in the original DEB configures Hudson on http://localhost:8080/ -> I added a prefix argument to /etc/default/hudson (–prefix) to start the server on http://localhost:8080/hudson/.
  • The original DEB was installing some odd JRE (Kaffe or gcj? I forget which). I changed the control file to depend on java6-sdk which is going to match either openjdk6 or the sun java 6 jdk.
  • I feel like a proper Hudson deb would include dependencies Apache2, mod_proxy, and configure mod_proxy to route requests to the Hudson server. This DEB does that, if you don’t have Hudson, it will configure an httpd server on port 80 and route /hudson to the newly installed Hudson server.

To install this DEB, just follow these steps:

sudo apt-get install python-software-properties
sudo add-apt-repository "deb http://build.discursive.com/apt/ lucid main"
sudo apt-get update
sudo apt-get install hudson

That’s it. The process should take a few minutes, but once complete, your hudson instance should be up and running on port 80. http://localhost/hudson

Note: I’m also convinced that 8080 is an annoying default port. Too many servers use this as a default. Note that I didn’t change this, I left it at 8080. Maybe next time.