new script to run the jenkins build of feisty meow
authorFred T. Hamster <fred@wildmutt.gruntose.blurgh>
Thu, 23 Nov 2017 06:58:47 +0000 (01:58 -0500)
committerFred T. Hamster <fred@wildmutt.gruntose.blurgh>
Thu, 23 Nov 2017 06:58:47 +0000 (01:58 -0500)
scripts/generator/jenkins_builder.sh [new file with mode: 0644]

diff --git a/scripts/generator/jenkins_builder.sh b/scripts/generator/jenkins_builder.sh
new file mode 100644 (file)
index 0000000..5ae0075
--- /dev/null
@@ -0,0 +1,19 @@
+#!/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
+
+export RUN_ALL_TESTS=true
+export HOME="$(mktemp -d "$feisty_path/home_store.XXXXXX")"
+cd "$feisty_path"
+bash "$feisty_path/scripts/core/reconfigure_feisty_meow.sh"
+source "$feisty_path/scripts/core/launch_feisty_meow.sh"
+echo after probably hosed launch
+var FEISTY_MEOW_APEX FEISTY_MEOW_SCRIPTS
+bash "$feisty_path/scripts/generator/produce_feisty_meow.sh"
+