From 56155c16b91428c4838df1d6010cdb7acdb540ce Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 21 Sep 2016 23:37:37 +0200 Subject: 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 --- contrib/jenkins.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib') 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 -- cgit v1.2.3