Hudson-ci/Using Hudson/Installing Hudson/Installing Hudson DEB

From Eclipsepedia

Jump to: navigation, search
Hudson Continuous Integration Server
Website
Download
Community
Mailing ListForumsIRC
Bugzilla
Open
Help Wanted
Bug Day
Contribute
Browse Source
Hudson-bust.png Installing Hudson on Debian and Ubuntu











Contents

Introduction

This is a quick guide only, for more information see The Hudson Book Section 3.3

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

Recent versions are available in http://hudson-ci.org/downloads/debian/
Note.png
This Link needs to be amended when builds start on Eclipse


Installation

  1. sudo sh -c "echo 'deb http://hudson-ci.org/debian binary/' > /etc/apt/sources.list.d/hudson.list"

the command above didn't work for my 10.04 server so I corrected it:

  1. sudo sh -c "echo 'deb http://hudson-ci.org/debian /' > /etc/apt/sources.list.d/hudson.list"
  2. sudo apt-get update
  3. sudo apt-get install hudson

Upgrade

  • sudo apt-get update

and then after a backup

  • sudo apt-get upgrade

What does this package do?

  1. Hudson will be launched as a daemon up on start. See /etc/init.d/hudson for more details.
  2. The 'hudson' user is created to run this service.
  3. Log file will be placed in /var/log/hudson/hudson.log. Check this file if you are troubleshooting Hudson.
  4. /etc/default/hudson will capture configuration parameters for the launch.

Where to go from here?