This page will discuss how to set-up a node that will contribute build to http://mixxx.org/packages/autobuilds/.
The build nodes (also referred to as Private Hudson Instances) are not slaves, but rather independent Hudson instances that publish their info to the Public Hudson instance dashboard (currently found at http://mixxx.org:8080/).
Before setting up an Ubuntu Hudson build node, you should follow the steps to make sure you are able to package manually
–> see the Packaging page.
Following that you need to:
transfer the .pbuilderrc from your home directory to /var/lib/hudson/.pbuilderrc
chown/chmod it to be readable by the “hudson” user
-
-
Start hudson - either by:
Go to Manage Hudson
Go to plug-ins, install:
SCP
SCons
Build Publisher
After installing those, go to the plug-ins→Advanced tab:
-
Restart Hudson (every time you install plug-in(s) you have to)
Go to Manage Hudson
Go to System config
Add the following settings (some are not shown for security reasons):
From Hudson's main screen select “new job”
Select Build a free-style software project for the job type
Call the job the name of the arch
Add a description (can include
HTML markup), I recommend something like this where you include the version, build host, distro info, and a link to where the autobuild will end up:
Mixxx 1.7.0
Built on QNAP-NAS (Ubuntu 9.04 i386)
http://mixxx.org/packages/autobuilds/i386
Complete Scons + build params settings (you have to choose “invoke a scons script” and then click on the “Advanced” button to get blanks for these settings)
NOTE: These are just an example, your scons args and what packages you upload will vary by build machine and target
OS respectively.
Tick the box to “Publish artifacts to SCP Repository”
Tick the box to “Publish build” (if you want to see builds not over write each other, I suggest using $JOB_NAME/$BUILD_ID instead of just $JOB_NAME in the destination below)
if you run macports you can install bzr-xmloutput like so (there is no port for it atm):
cd /opt/local/lib/python2.5/site-packages/bzrlib/plugins
sudo wget http://launchpad.net/bzr-xmloutput/trunk/0.8.4/+download/bzr-xmloutput-0.8.4.tar.gz
sudo tar -zxvf bzr-xmloutput-0.8.4.tar.gz
sudo mv bzr-xmloutput-0.8.4 xmloutput
TortoiseBZR appears to pull proxy settings from
IE, so if changing networks be aware that you may not get connectivity for checkouts.
Building QMakeBuilder