Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
6309fbf1
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6309fbf1
编写于
10月 17, 2016
作者:
A
Achilleas Pipinellis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add more images for the test coverage docs
上级
0995d557
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
18 addition
and
6 deletion
+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
未找到文件。
doc/user/project/pipelines/img/pipelines_settings_test_coverage.png
0 → 100644
浏览文件 @
6309fbf1
4.1 KB
doc/user/project/pipelines/img/pipelines_test_coverage_build.png
0 → 100644
浏览文件 @
6309fbf1
9.7 KB
doc/user/project/pipelines/img/pipelines_test_coverage_mr_widget.png
0 → 100644
浏览文件 @
6309fbf1
14.2 KB
doc/user/project/pipelines/settings.md
浏览文件 @
6309fbf1
...
...
@@ -35,15 +35,27 @@ if the job surpasses the threshold, it is marked as failed.
## Test coverage parsing
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
or enter a ruby regular expression. You can use http://rubular.com to test your
regex.
build log using a regular expression. In the pipelines settings, search for the
"Test coverage parsing" section.
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
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
the members of the project or group have access to it, uncheck the
**
Public
pipelines
**
checkbox and save the changes.
...
...
@@ -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
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
pages.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录