Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-09-27 17:35:52 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-10-04 16:57:22 +0300
commit1c3ea8d42a086eeb702c4028859deecef66f63d2 (patch)
tree9ba8ea6726640cc45fa71de5a8b07cab63adc437
parentd28887ff2b1679604b358a16b05f16a67eb8ce7a (diff)
Store rspec logs on test failureszj-clean-env-gitaly-ruby-test
When Ruby tests fail on CI, but not locally, the logs are useful to get clues for debugging. With these additions the logs will be exported for a week after failure.
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef28688f9..941a78ad2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,6 +67,11 @@ danger-review:
paths:
- ruby/vendor/bundle
policy: pull
+ artifacts:
+ paths:
+ - ruby/tmp/gitaly-rspec-test.log
+ when: on_failure
+ expire_in: 1 week
.test_template: &test_definition
<<: *go_test_definition