Igor, please publish then server versions of build scripts like build13.sh, build-kernel.sh etc. too. -- Pavel On Mon, Jul 11, 2011 at 7:47 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 11 July 2011 19:33, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
What I great change. I think I have asked Marcus about them like 10 times :)
So, i think you asked for a reason? :) Because now you have commit rights to this repository, nothing prevents you from doing what you wanted to do :)
The changes are quite simple: Â - avoid using absolute paths (instead use $WORKSPACE) environment variable all scripts are starting from:
if [ -z "$WORKSPACE" ] ; then     WORKSPACE=`pwd` fi
so, you can run them on your local machine, and they will work same on server. Of course if you don't make stupid mistakes... ( bah it's so easy to look like an idiot with these bash scripts. I have bash/sh !!!)
When you need to invoke VM , use PHARO_VM environment variable. Which is set on slave to point to VM. Like: exec "$PHARO_VM" $PHARO_PARAM "$OUTPUT_IMAGE" "$OUTPUT_SCRIPT" -headless
Of course, for testing freshly built VMs it may point to another place, but scripts will remain same.
(tomorrow i will start migrating VM jobs from hudson to jenkins) Jenkins is more appeal and seems to be less buggy. :)
-- Best regards, Igor Stasenko AKA sig.