drizzle
Profile
Search
 
Powered by SoftLayer

Contents

Hudson

The Hudson dashboard can be found at Hudson dashboard.

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 and job to the Drizzle infrastructure

ssh username@machinename ls

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

Site generously hosted by SoftLayer Technologies