fixeria has uploaded this change for review.
fixup: contrib/jenkins: create workspace.tar.xz on error
cat-testlogs.sh does "exit 1", so no workspace.tar.xz is created.
Call this script after archiving the workspace.
Change-Id: Ibcb842f32418e66a186d6b21bb5861cf4a0b7c4a
Fixes: d33a66b779 "contrib/jenkins: create workspace.tar.xz on error"
Related: OS#5665
---
M contrib/jenkins.sh
1 file changed, 15 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/67/33067/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index f9d944a..ba453e9 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -8,14 +8,12 @@
#
exit_tar_workspace() {
- cat-testlogs.sh
-
if [ "$IS_MASTER_BUILD" = "1" ]; then
tar -cJf "/tmp/workspace.tar.xz" "$base"
mv /tmp/workspace.tar.xz "$base"
fi
- exit 1
+ cat-testlogs.sh
}
if ! [ -x "$(command -v osmo-build-dep.sh)" ]; then
To view, visit change 33067. To unsubscribe, or for help writing mail filters, visit settings.