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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Sep 30 00:58:13 UTC 2016


Neels Hofmeyr has submitted this change and it was merged.

Change subject: jenkins.sh: output all test logs when 'make check' failed
......................................................................


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

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



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

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I18a08e7ade1a53783d5a4171fe825f61b49457be
Gerrit-PatchSet: 7
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list