diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-21 23:37:37 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-30 00:58:13 +0000 |
commit | 56155c16b91428c4838df1d6010cdb7acdb540ce (patch) | |
tree | e7df0a6c9d0cddd978697dc22365aa4ddbfa43f1 /contrib | |
parent | 9c0751fc60e6282b5f5ff791d53f6f862f1c9c79 (diff) |
jenkins.sh: output all test logs when 'make check' failed
Assume that cat-testlogs.sh from osmo-ci is installed in $HOME/osmo-ci/scripts,
and call from jenkins.sh upon 'make check' failure.
Change-Id: I18a08e7ade1a53783d5a4171fe825f61b49457be
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/jenkins.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index 5c69da69..e9f63e43 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -1,8 +1,10 @@ #!/usr/bin/env bash +export PATH="$PATH:$HOME/osmo-ci/scripts" set -ex autoreconf --install --force ./configure --enable-static $MAKE $PARALLEL_MAKE -$MAKE distcheck +$MAKE distcheck \ + || cat-testlogs.sh |