diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-05-28 02:58:47 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-05-28 03:04:56 +0700 |
commit | ff3540cb2c9aa1a06d10b7bf9f85be4620dbde66 (patch) | |
tree | cd2fb6703d89c4999248112e0bbd5330ea49ae72 /contrib | |
parent | fc914e9eb84cd268ba1ac5b8417f289f08c2493a (diff) |
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
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/jenkins.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index f9d944a49..ba453e93f 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 |