[Seaside] Anyone building seaside images on a mac with Jenkins?

Sven Van Caekenberghe sven at beta9.be
Tue Apr 19 15:20:34 UTC 2011


On 19 Apr 2011, at 16:52, Stephan Eggermont wrote:

> The shell scripts at https://github.com/renggli/builder.git have quite some
> linux-specific behaviour. 
> 
> In 24 failed builds I found (with some path expansion help from Norbert):
> readlink -f, 
> PHARO_VM
> PHARO_PARAM
> chmod --reference
> 
> Before I continue, did anyone already make this work on OS X (10.6.7)?
> 
> Stephan

I works on my MacBook, my diffs are a bit old, but this might help:

$ diff build.sh build.svc.sh 
3,4c3,4
< # build.sh -- Builds Pharo images using a series of Smalltalk
< #   scripts. Best to be used together with Jenkins.
---
> # build.svc.sh -- Builds Pharo images using a series of Smalltalk
> #   scripts. Best to be used together with Hudson.
11,12c11,14
< PHARO_VM="cog"
< PHARO_PARAM="-nodisplay -nosound"
---
> PHARO_VM="/Users/sven/apps/Smalltalk/Virtual-Machines/Squeak-4.0.3.2202-darwin10.3.0_i386/bin/squeak"
> #PHARO_VM="/Users/sven/apps/Smalltalk/Virtual-Machines/Squeak 5.8b10.app/Contents/MacOS/Squeak"
> PHARO_PARAM="-vm-display-none -vm-sound-null"
> #PHARO_PARAM="-headless"
15,20c17,23
< BUILD_PATH="${WORKSPACE:=$(readlink -f $(dirname $0))/builds}"
< 
< IMAGES_PATH="$(readlink -f $(dirname $0))/images"
< SCRIPTS_PATH="$(readlink -f $(dirname $0))/scripts"
< SOURCES_PATH="$(readlink -f $(dirname $0))/sources"
< BUILD_CACHE="$(readlink -f $(dirname $0))/cache"
---
> MY_HOME=$(dirname $0)
> MY_HOME=$(cd $MY_HOME && pwd)
> BUILD_PATH="$MY_HOME/builds"
> IMAGES_PATH="$MY_HOME/images"
> SCRIPTS_PATH="$MY_HOME/scripts"
> SOURCES_PATH="$MY_HOME/sources"
> BUILD_CACHE="$MY_HOME/cache"
28c31
< 	echo " -i input product name, image from images-directory, or successful jenkins build"
---
> 	echo " -i input product name, image from images-directory, or successful hudson build"
105,106c108,109
< mkdir -p "$BUILD_CACHE/${JOB_NAME:=$OUTPUT_NAME}"
< ln -s "$BUILD_CACHE/${JOB_NAME:=$OUTPUT_NAME}" "$OUTPUT_CACHE"
---
> mkdir -p "$BUILD_CACHE/$OUTPUT_NAME"
> ln -s "$BUILD_CACHE/$OUTPUT_NAME" "$OUTPUT_CACHE"





More information about the seaside mailing list