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
This commit is contained in:
parent
fc914e9eb8
commit
ff3540cb2c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue