Manual Installation

Install snow leopard from master discs

Create jenkins user

Install XCode

Software update to latest version

Enable remote login (sshd)

if xcode 4 is installed you need to do:

sudo xcodebuild -license

Install ? tunnelblick and configure for auto start openvpn to ci master

Download Mac Ports:

curl -o MacPorts-2.3.1-10.6-SnowLeopard.pkg

double click on the pkg file to install

Update ports database ready for use

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
sudo port -v selfupdate

install required packages

sudo port install git ccache expat openssl curl libjpeg-turbo libpng p5-html-parser screen bison

As jenkins user:

create jenkins workspace directory

mkdir jenkins

download slave jar

curl -o slave.jar

Add node on jenkins master CI instance

Name       cislave7
Description    Mac os X build slave
# of executors 1
Remote FS root /Users/jenkins/jenkins
Labels     i686-apple-darwin10

take note of secret for use.

create jenkins slave script

cat << EOF >

java -Djava.awt.headless=true -jar slave.jar -jnlpUrl -secret 1234
chmod a+x

create ssh keypair (accept defaults - no password)

ssh-keygen -t rsa -C ""

copy .ssh/ from slave to jenkins master node and append to /home/netsurf/.ssh/authorized_keys

start slave daemon in screen