mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-10 16:56:34 +08:00
better jenkins script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user