X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fgenerator%2Fjenkins_builder.sh;fp=scripts%2Fgenerator%2Fjenkins_builder.sh;h=a61c3625bd010bf704194d20efd59984b9bc152f;hb=08c433f58546a8c8492a537b97759078247e8bce;hp=0000000000000000000000000000000000000000;hpb=9c896e976257e24f70f347d913c0a20681b13c04;p=feisty_meow.git 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" +