From d5ae7f3dbdb366bd9e4c68e8dae8b997ce3f8872 Mon Sep 17 00:00:00 2001 From: Antoine Regimbeau <antoine.regimbeau@c-s.fr> Date: Thu, 16 May 2019 13:49:46 +0200 Subject: [PATCH] Add artifacts on failure --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f379be4b87..a602f59cd9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,6 +57,12 @@ fast-build: - git checkout -f -q $CI_COMMIT_SHA after_script: - python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH $CI_MERGE_REQUEST_REF_PATH + artifacts: + when: on_failure + expire_in: 24 hrs + paths: + - *log.txt + debian-build: extends: .common-build -- GitLab