summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorErik Skultety <eskultet@redhat.com>2022-10-14 12:36:06 +0200
committerErik Skultety <eskultet@redhat.com>2022-10-25 09:40:44 +0200
commit5243dcea655abcc246f0bfa93ac0ebf58c70ad28 (patch)
tree4d5a561ff07dfef0b990c3b2d0c6b01d3d5db267 /ci
parent124eb56342090c6d60db94dca9391bf742e76530 (diff)
downloadlibvirt-5243dcea655abcc246f0bfa93ac0ebf58c70ad28.tar.gz
ci: integration: Use 'set +e' in the log collecting job
All 'script' blocks are defined as 'set -e' and so a single failed return value means we won't collect some of the logs. Because of the nature of the original job's failure some of the log sources might not be available, but that's fine, however, the gitlab after_script job cannot finish prematurely. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'ci')
-rw-r--r--ci/integration-template.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/integration-template.yml b/ci/integration-template.yml
index 4321f0d29e..67982c5167 100644
--- a/ci/integration-template.yml
+++ b/ci/integration-template.yml
@@ -55,6 +55,7 @@
.collect-logs: &collect-logs
+ - set +e
- mkdir logs
- test -d "$SCRATCH_DIR"/avocado && sudo mv "$SCRATCH_DIR"/avocado/latest/test-results logs/avocado;
- sudo coredumpctl &>/dev/null && sudo coredumpctl info --no-pager > logs/coredumpctl.txt