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(a)redhat.com>
---
ci/integration-template.yml | 1 +
1 file changed, 1 insertion(+)
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
--
2.37.3