drizzle
Profile
Search
 
Hosted by The Rackspace Cloud

The Drizzle Hudson dashboard can be found at Hudson dashboard.

Contents

How to set up a new build slave

Execute the following steps on the slave machine. Note that the Hudson server must be able to ssh to the build slave

sudo useradd -c "Hudson" -d /home/hudson -m -s /bin/bash hudson

To create a new user on Solaris

pfexec useradd -c "Hudson" -d /export/home/hudson -g staff -s /bin/bash -P "Primary Administrator" -A "solaris.*" hudson

su - hudson
mkdir -p ~/.ssh
chmod 700 ~/.ssh
echo "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEArULdwPmFGIDRDun6Ys6XFWU1XK9XWwOxKfKabzwpzAllLwOgpqVDX0GmKp0uIZU/ruMIrPq8+9XoZyA7Xp+8npi/lNlLWGI76iDifeA7KU960fSk7zoioYoOQBtymgBap2/Duul2H+etZtPXwgf0lfU5iAwoo2FOFlWGMlBvxAs= Hudson running on hudson.drizzle.org" > ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

Adding a node to the Drizzle infrastructure

ssh username@machinename ls

Adding a job to the Drizzle infrastructure

Param Builds

Go to http://hudson.drizzle.org/view/Drizzle-param/job/drizzle-param/, and select "Build Now". Hudson will then prompt you to enter your branch name that you wish to run and verify. See Monty's blog for more details.

How to restart Hudson

First, in hudson, go to "Manage Hudson" and select "Prepare for Shutdown". This will prevent hudson from starting any new builds.

Wait for hudson to finish any outstanding builds.

On hudson.drizzle.org, execute:

sudo /etc/init.d/hudson restart

Hudson log is in /var/log/hudson/hudson.log

Basic configuration starts from /etc/default/hudson, which should show where everything goes.

Upgrading Hudson