Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

On Debian-based distributions, such as Ubuntu, you can install Hudson through apt-get.

  1. Add the following line to your /etc/apt/sources.list:
    deb http://hudson-ci.org/debian binary/
    
  2. Update the APT index:
    sudo apt-get update
    
  3. Install Hudson:
    sudo apt-get install hudson
    

Comment:

Doesn't work on modern Ubuntu:

sudo apt-get install hudson 

...

The following packages have unmet dependencies:
  hudson: Depends: daemon but it is not going to be installed
 

Works on Debian Lenny

Worked on Karmic for me -- RobertCollins

If you need daemon, then just add it to the install command:

sudo apt-get install hudson daemon

Worked fine in Jaunty for me and picked up the daemon dependency automatically - DanKlco

On Ubuntu: I followed all the steps above to install and then kicked off the .war file through "java -jar hudson.war", the server tries to come up with some "Severe: Failed to initialize Hudson", but at the end of this error log, it says "HTTP Listener started :port=8080". When I try to open the page, I get an error saying "Status Code 500". What am I doing wrong?

This above problem was fixed by installing a Tomcat webserver.

...

After installing the hudson deb on Ubuntu server Jaunty 8.10, when I tried to run the init script /etc/init.d/hudson start, nothing would be printed and the server would not start. No log file was created under /var/log/hudson and no pid file was created under /var/run/hudson. I eventually discovered that if i set the hudson user's shell to /bin/bash instead of /bin/false in /etc/passwd everything works fine. Hope this saves someone else some trouble.

  • No labels