better jenkins script

This commit is contained in:
Aaron Blankstein
2017-07-18 16:25:50 -04:00
parent 37c36453db
commit db5bb488eb

View File

@@ -1,7 +1,7 @@
#!/bin/sh
usage() {
echo "Usage: $0 [path/to/test/output/dir] [path/to/archival/outputs] [OPTIONAL: path/to/tests/to/skip.txt] [OPTIONAL: path/to/existing/test/logdir/]"
echo "Usage: $0 [path/to/test/output/dir] [OPTIONAL: path/to/tests/to/skip.txt] [OPTIONAL: path/to/existing/test/logdir/]"
exit 1
}
@@ -19,11 +19,10 @@ if [ $? -ne 0 ]; then
fi
OUTPUTS="$1"
TESTS_SKIP="$3"
EXISTING_LOGS="$4"
TESTS_SKIP="$2"
EXISTING_LOGS="$3"
test -d "$OUTPUTS" || mkdir -p "$OUTPUTS"
test -d "$ARCHIVALS" || mkdir -p "$ARCHIVALS"
while IFS= read SCENARIO_FILE; do
killall bitcoind