From: Erik Skultety Date: Fri, 14 Oct 2022 10:36:06 +0000 (+0200) Subject: ci: integration: Use 'set +e' in the log collecting job X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5243dcea655abcc246f0bfa93ac0ebf58c70ad28;p=libvirt.git 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 Reviewed-by: Michal Privoznik --- 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