summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-09-04 13:33:50 +0000
committerRémy Coutable <remy@rymai.me>2018-09-04 13:33:50 +0000
commit3a4d3dff516a187923fa2442da88b44915a9c97c (patch)
treed6b0f7b17868dbc30b37cfebcd256e06fe641a30 /.gitlab-ci.yml
parentafb49b044bcb71702edd3f5ef0139599ddc54ef5 (diff)
parent789fae50fb643201aee178c3748df5b7bce588c6 (diff)
downloadgitlab-ce-3a4d3dff516a187923fa2442da88b44915a9c97c.tar.gz
Merge branch 'junit-results' into 'master'
Enable JUnit results for rspec See merge request gitlab-org/gitlab-ce!21449
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index db1ce3e9054..1b4134282c9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -171,7 +171,7 @@ stages:
- '[[ -f $FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${FLAKY_RSPEC_REPORT_PATH}'
- '[[ -f $NEW_FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${NEW_FLAKY_RSPEC_REPORT_PATH}'
- scripts/gitaly-test-spawn
- - knapsack rspec "--color --format documentation"
+ - knapsack rspec "--color --format documentation --format RspecJunitFormatter --out junit_rspec.xml"
artifacts:
expire_in: 31d
when: always
@@ -180,6 +180,8 @@ stages:
- knapsack/
- rspec_flaky/
- tmp/capybara/
+ reports:
+ junit: junit_rspec.xml
.rspec-metadata-pg: &rspec-metadata-pg
<<: *rspec-metadata