From: Chris Koeritz Date: Thu, 23 Nov 2017 07:24:34 +0000 (-0500) Subject: Merge branch 'dev' of feistymeow.org:feisty_meow into dev X-Git-Tag: 2.140.106^2~66 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=e1343321af6800c5eb63f56b76017535941486e1;hp=36092af27026e70b0faf60a928f7061dcb89a51f;p=feisty_meow.git Merge branch 'dev' of feistymeow.org:feisty_meow into dev --- diff --git a/scripts/generator/jenkins_builder.sh b/scripts/generator/jenkins_builder.sh new file mode 100644 index 00000000..a61c3625 --- /dev/null +++ b/scripts/generator/jenkins_builder.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# got really tired of seeing this as a big long single line in jenkins, plus +# it kept breaking and was a huge pain to edit. so now it's in a much more +# readable file. +# the only parameter is the path to the feisty meow codebase being built and +# tested. + +feisty_path="$1"; shift + +if [ -z "$feisty_path" ]; then + echo This script requires the path to the feisty meow codebase under test. + exit 1 +fi + +export RUN_ALL_TESTS=true +export HOME="$(mktemp -d "$feisty_path/home_store.XXXXXX")" +cd "$feisty_path" +export FEISTY_MEOW_APEX="$(\pwd)" +export FEISTY_MEOW_SCRIPTS=$FEISTY_MEOW_APEX/scripts +bash "$feisty_path/scripts/core/reconfigure_feisty_meow.sh" +source "$feisty_path/scripts/core/launch_feisty_meow.sh" +var FEISTY_MEOW_APEX FEISTY_MEOW_SCRIPTS +bash "$feisty_path/scripts/generator/produce_feisty_meow.sh" +