[gnome-build-meta/jjardon/ci: 2/2] .gitlab-ci.yml: Store artifacts to check build logs



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

    .gitlab-ci.yml: Store artifacts to check build logs

 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b2e326..2fd96db 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,6 +26,12 @@ before_script:
     paths:
       - "${XDG_CACHE_HOME}/buildstream/sources/"
 
+# Store artifacts so we can inspect build failures
+.bst_artifacts: &bst_artifacts
+    when: always
+    paths:
+      - ${CI_PROJECT_DIR}/cache/buildstream/logs
+
 
 
 bst-build-gnome-core:
@@ -34,3 +40,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]