[gnome-build-meta/jjardon/ci] .gitlab-ci.yml: Store logs in gitlab artifacts to be able to inspect them



commit 8f252afb2b378e8e67e65584187a88273d7effd3
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Feb 19 18:23:56 2018 +0000

    .gitlab-ci.yml: Store logs in gitlab artifacts to be able to inspect them

 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b2e326..ccc61cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,6 +26,13 @@ before_script:
     paths:
       - "${XDG_CACHE_HOME}/buildstream/sources/"
 
+# Store artifacts so we can inspect build failures
+.bst_artifacts: &bst_artifacts
+  artifacts:
+    when: always
+    paths:
+      - ${CI_PROJECT_DIR}/cache/buildstream/logs
+
 
 
 bst-build-gnome-core:
@@ -34,3 +41,4 @@ bst-build-gnome-core:
   script:
     - ${BST} build --track-all core.bst
   <<: *bst_cache
+  <<: *bst_artifacts


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]