Make debugging easier when running on Jenkins

This commit is contained in:
James Shubin
2016-02-12 15:55:31 -05:00
parent 427d424707
commit 85e9473d56
7 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# check for any bash files that aren't properly formatted
# TODO: this is hardly exhaustive
echo running test-bashfmt.sh
set -o errexit
set -o nounset
set -o pipefail

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# original version of this script from kubernetes project, under ALv2 license
echo running test-gofmt.sh
set -o errexit
set -o nounset
set -o pipefail

View File

@@ -1,5 +1,6 @@
#!/bin/bash -ie
#!/bin/bash -i
# simple test harness for testing mgmt via omv
echo running test-omv.sh
CWD=`pwd`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir!
cd "$DIR" >/dev/null # work from test directory

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# simple test for reproducibility, probably needs major improvements
echo running test-reproducible.sh
set -o errexit
set -o pipefail

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# simple test harness for testing mgmt
# NOTE: this will rm -rf /tmp/mgmt/
echo running test-shell.sh
set -o errexit
set -o pipefail

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# check for any yaml files that aren't properly formatted
echo running test-yamlfmt.sh
set -o errexit
set -o nounset
set -o pipefail