aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.d
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-05-18 08:51:52 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-05-19 20:40:29 +0200
commit9fd9f3952f20046dd454f85dc46c9d13af50c700 (patch)
tree5f79afc05a718c450d0be87f080bd40c90c931b7 /.gitlab-ci.d
parentd37c21b5fb34aaa01eeabf75a57cf141d76af42f (diff)
gitlab: custom-runners: preserve more artifacts for debugging
Since custom runners are not generally available, make it possible to debug the differences between a successful and a failing build by comparing the logs and the build.ninja rules. Acked-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '.gitlab-ci.d')
-rw-r--r--.gitlab-ci.d/custom-runners.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.d/custom-runners.yml b/.gitlab-ci.d/custom-runners.yml
index 34a1e6f327..8e5b9500f4 100644
--- a/.gitlab-ci.d/custom-runners.yml
+++ b/.gitlab-ci.d/custom-runners.yml
@@ -20,8 +20,10 @@ variables:
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
expire_in: 7 days
+ when: always
paths:
- - build/meson-logs/testlog.txt
+ - build/build.ninja
+ - build/meson-logs
reports:
junit: build/meson-logs/testlog.junit.xml