aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-21 23:37:37 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-30 00:58:13 +0000
commit56155c16b91428c4838df1d6010cdb7acdb540ce (patch)
treee7df0a6c9d0cddd978697dc22365aa4ddbfa43f1 /contrib
parent9c0751fc60e6282b5f5ff791d53f6f862f1c9c79 (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-xcontrib/jenkins.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 5c69da6..e9f63e4 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