Skip to contentSkip to conversation

gitlab-ci: store artifacts even on failure

PATCH New Paolo Bonzini 1 participant 1 message Jun 3, 2024 KVM

lore
Share & tools
lore

Paolo Bonzini

author maintainer
#0 lore raw

PATCH 1/1 gitlab-ci: store artifacts even on failure

Test logs are especially useful when there are failures! Allow inspecting them to ease debugging of CI issues.

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
.gitlab-ci.yml +2 -0
index 23bb69e2..204e05ec 100644
@@ -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
 
Signature · 1 line
2.45.1