diff mbox series

[kvm-unit-tests] gitlab-ci: store artifacts even on failure

Message ID 20240603092751.608357-1-pbonzini@redhat.com (mailing list archive)
State New
Headers show
Series [kvm-unit-tests] gitlab-ci: store artifacts even on failure | expand

Commit Message

Paolo Bonzini June 3, 2024, 9:27 a.m. UTC
Test logs are especially useful when there are failures!  Allow
inspecting them to ease debugging of CI issues.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 23bb69e2..204e05ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,12 +7,14 @@  before_script:
 .intree_template:
  artifacts:
   expire_in: 2 days
+  when: always
   paths:
    - logs
 
 .outoftree_template:
  artifacts:
   expire_in: 2 days
+  when: always
   paths:
    - build/logs