diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-06 03:09:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-06 03:09:29 +0300 |
commit | 697d1c4e06d1c232ca8b21805cc889a0991702ab (patch) | |
tree | 65cdc2f7e6477e1cf1ebd5db30ef3cfeefeb1a00 /doc/ci | |
parent | 71ae61f8794ed2cde39c52001b5c7e9c1cb4e593 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/junit_test_reports.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/ci/junit_test_reports.md b/doc/ci/junit_test_reports.md index 313ade0887e..a97d4b865c8 100644 --- a/doc/ci/junit_test_reports.md +++ b/doc/ci/junit_test_reports.md @@ -87,8 +87,8 @@ Use the following job in `.gitlab-ci.yml`. This includes the `artifacts:paths` k ruby: stage: test script: - - bundle install - - rspec spec/lib/ --format RspecJunitFormatter --out rspec.xml + - bundle install + - rspec spec/lib/ --format RspecJunitFormatter --out rspec.xml artifacts: paths: - rspec.xml @@ -105,8 +105,8 @@ Use the following job in `.gitlab-ci.yml`: golang: stage: test script: - - go get -u github.com/jstemmer/go-junit-report - - go test -v 2>&1 | go-junit-report > report.xml + - go get -u github.com/jstemmer/go-junit-report + - go test -v 2>&1 | go-junit-report > report.xml artifacts: reports: junit: report.xml @@ -127,7 +127,7 @@ matching by defining the following path: `build/test-results/test/**/TEST-*.xml` java: stage: test script: - - gradle test + - gradle test artifacts: reports: junit: build/test-results/test/**/TEST-*.xml @@ -143,7 +143,7 @@ reports, use the following job in `.gitlab-ci.yml`: java: stage: test script: - - mvn verify + - mvn verify artifacts: reports: junit: @@ -160,7 +160,7 @@ for JUnit: pytest: stage: test script: - - pytest --junitxml=report.xml + - pytest --junitxml=report.xml artifacts: reports: junit: report.xml @@ -181,7 +181,7 @@ will then be aggregated together. cpp: stage: test script: - - gtest.exe --gtest_output="xml:report.xml" + - gtest.exe --gtest_output="xml:report.xml" artifacts: reports: junit: report.xml @@ -210,7 +210,7 @@ Test: - ./**/*test-result.xml reports: junit: - - ./**/*test-result.xml + - ./**/*test-result.xml ``` ## Limitations |