Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
232098fb
Commit
232098fb
authored
Apr 03, 2020
by
Marcel Amirault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix yaml spacing
parent
23b78718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
doc/ci/junit_test_reports.md
doc/ci/junit_test_reports.md
+9
-9
No files found.
doc/ci/junit_test_reports.md
View file @
232098fb
...
@@ -87,8 +87,8 @@ Use the following job in `.gitlab-ci.yml`. This includes the `artifacts:paths` k
...
@@ -87,8 +87,8 @@ Use the following job in `.gitlab-ci.yml`. This includes the `artifacts:paths` k
ruby
:
ruby
:
stage
:
test
stage
:
test
script
:
script
:
-
bundle install
-
bundle install
-
rspec spec/lib/ --format RspecJunitFormatter --out rspec.xml
-
rspec spec/lib/ --format RspecJunitFormatter --out rspec.xml
artifacts
:
artifacts
:
paths
:
paths
:
-
rspec.xml
-
rspec.xml
...
@@ -105,8 +105,8 @@ Use the following job in `.gitlab-ci.yml`:
...
@@ -105,8 +105,8 @@ Use the following job in `.gitlab-ci.yml`:
golang
:
golang
:
stage
:
test
stage
:
test
script
:
script
:
-
go get -u github.com/jstemmer/go-junit-report
-
go get -u github.com/jstemmer/go-junit-report
-
go test -v 2>&1 | go-junit-report > report.xml
-
go test -v 2>&1 | go-junit-report > report.xml
artifacts
:
artifacts
:
reports
:
reports
:
junit
:
report.xml
junit
:
report.xml
...
@@ -127,7 +127,7 @@ matching by defining the following path: `build/test-results/test/**/TEST-*.xml`
...
@@ -127,7 +127,7 @@ matching by defining the following path: `build/test-results/test/**/TEST-*.xml`
java
:
java
:
stage
:
test
stage
:
test
script
:
script
:
-
gradle test
-
gradle test
artifacts
:
artifacts
:
reports
:
reports
:
junit
:
build/test-results/test/**/TEST-*.xml
junit
:
build/test-results/test/**/TEST-*.xml
...
@@ -143,7 +143,7 @@ reports, use the following job in `.gitlab-ci.yml`:
...
@@ -143,7 +143,7 @@ reports, use the following job in `.gitlab-ci.yml`:
java
:
java
:
stage
:
test
stage
:
test
script
:
script
:
-
mvn verify
-
mvn verify
artifacts
:
artifacts
:
reports
:
reports
:
junit
:
junit
:
...
@@ -160,7 +160,7 @@ for JUnit:
...
@@ -160,7 +160,7 @@ for JUnit:
pytest
:
pytest
:
stage
:
test
stage
:
test
script
:
script
:
-
pytest --junitxml=report.xml
-
pytest --junitxml=report.xml
artifacts
:
artifacts
:
reports
:
reports
:
junit
:
report.xml
junit
:
report.xml
...
@@ -181,7 +181,7 @@ will then be aggregated together.
...
@@ -181,7 +181,7 @@ will then be aggregated together.
cpp
:
cpp
:
stage
:
test
stage
:
test
script
:
script
:
-
gtest.exe --gtest_output="xml:report.xml"
-
gtest.exe --gtest_output="xml:report.xml"
artifacts
:
artifacts
:
reports
:
reports
:
junit
:
report.xml
junit
:
report.xml
...
@@ -210,7 +210,7 @@ Test:
...
@@ -210,7 +210,7 @@ Test:
-
./**/*test-result.xml
-
./**/*test-result.xml
reports
:
reports
:
junit
:
junit
:
-
./**/*test-result.xml
-
./**/*test-result.xml
```
```
## Limitations
## Limitations
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment