aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index ecc57a44..b7016254 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -132,6 +132,11 @@ snap_build_task:
snapcraft --destructive-mode
packages_artifacts:
path: "*.snap"
+ on_failure:
+ fail_script: |
+ ls -d /root/.cache/snapcraft/log 2> /dev/null | xargs tar cf snap-build-fail-logs.tar
+ log_artifacts:
+ path: "snap-build-fail-logs.tar"
# Run the stage one (no mocking) tests across all distros on GCP
report_stageone_task: