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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
6309fbf1
Commit
6309fbf1
authored
Oct 17, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more images for the test coverage docs
parent
0995d557
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
6 deletions
+18
-6
doc/user/project/pipelines/img/pipelines_settings_test_coverage.png
...roject/pipelines/img/pipelines_settings_test_coverage.png
+0
-0
doc/user/project/pipelines/img/pipelines_test_coverage_build.png
...r/project/pipelines/img/pipelines_test_coverage_build.png
+0
-0
doc/user/project/pipelines/img/pipelines_test_coverage_mr_widget.png
...oject/pipelines/img/pipelines_test_coverage_mr_widget.png
+0
-0
doc/user/project/pipelines/settings.md
doc/user/project/pipelines/settings.md
+18
-6
No files found.
doc/user/project/pipelines/img/pipelines_settings_test_coverage.png
0 → 100644
View file @
6309fbf1
4.11 KB
doc/user/project/pipelines/img/pipelines_test_coverage_build.png
0 → 100644
View file @
6309fbf1
9.72 KB
doc/user/project/pipelines/img/pipelines_test_coverage_mr_widget.png
0 → 100644
View file @
6309fbf1
14.2 KB
doc/user/project/pipelines/settings.md
View file @
6309fbf1
...
@@ -35,15 +35,27 @@ if the job surpasses the threshold, it is marked as failed.
...
@@ -35,15 +35,27 @@ if the job surpasses the threshold, it is marked as failed.
## Test coverage parsing
## Test coverage parsing
If you use test coverage in your code, GitLab can capture its output in the
If you use test coverage in your code, GitLab can capture its output in the
build trace using a regular expression. Leave blank if you want to disable it
build log using a regular expression. In the pipelines settings, search for the
or enter a ruby regular expression. You can use http://rubular.com to test your
"Test coverage parsing" section.
regex.
A few examples can be found in the settings page.
![
Pipelines settings test coverage
](
img/pipelines_settings_test_coverage.png
)
Leave blank if you want to disable it or enter a ruby regular expression. You
can use http://rubular.com to test your regex.
If the pipeline succeeds, the coverage is shown in the merge request widget and
in the builds table.
![
MR widget coverage
](
img/pipelines_test_coverage_mr_widget.png
)
![
Build status coverage
](
img/pipelines_test_coverage_build.png
)
A few examples of known coverage tools for a variety of languages can be found
in the pipelines settings page.
## Visibility of pipelines
## Visibility of pipelines
For public and internal projects, the
**Pipelines**
page can be accessed by
For public and internal projects, the
pipelines
page can be accessed by
anyone and those logged in respectively. If you wish to hide it so that only
anyone and those logged in respectively. If you wish to hide it so that only
the members of the project or group have access to it, uncheck the
**
Public
the members of the project or group have access to it, uncheck the
**
Public
pipelines
**
checkbox and save the changes.
pipelines
**
checkbox and save the changes.
...
@@ -54,7 +66,7 @@ In the pipelines settings page you can find build status and test coverage
...
@@ -54,7 +66,7 @@ In the pipelines settings page you can find build status and test coverage
badges for your project. The latest successful pipeline will be used to read
badges for your project. The latest successful pipeline will be used to read
the build status and test coverage values.
the build status and test coverage values.
Visit the
**Pipelines**
settings page in your project to see the exact link to
Visit the
pipelines
settings page in your project to see the exact link to
your badges, as well as ways to embed the badge image in your HTML or Markdown
your badges, as well as ways to embed the badge image in your HTML or Markdown
pages.
pages.
...
...
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