[PATCH] libsmpp34[master]: jenkins.sh: output all test logs when 'make check' failed

roox gerrit-no-reply at lists.osmocom.org
Sun Feb 11 14:50:32 UTC 2018

Review at  https://gerrit.osmocom.org/6374

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: I73527117283a3a251591af48e2841c9f452f461d
M contrib/jenkins.sh
1 file changed, 2 insertions(+), 1 deletion(-)

  git pull ssh://gerrit.osmocom.org:29418/libsmpp34 refs/changes/74/6374/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 35d8e7a..0768d71 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
+export PATH="$PATH:$HOME/osmo-ci/scripts"
 set -ex
@@ -8,6 +9,6 @@
 ./configure --enable-sanitize
 $MAKE CFLAGS="-Werror" CPPFLAGS="-Werror"
-$MAKE distcheck
+$MAKE distcheck || cat-testlogs.sh

To view, visit https://gerrit.osmocom.org/6374
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I73527117283a3a251591af48e2841c9f452f461d
Gerrit-PatchSet: 1
Gerrit-Project: libsmpp34
Gerrit-Branch: master
Gerrit-Owner: roox <mardnh at gmx.de>

More information about the gerrit-log mailing list