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
fdd52a6b
Commit
fdd52a6b
authored
Aug 17, 2016
by
Grzegorz Bizon
Committed by
Achilleas Pipinellis
Oct 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation for test coverage report badge
[ci skip]
parent
7abcb29d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/ci/pipelines.md
doc/ci/pipelines.md
+5
-5
No files found.
doc/ci/pipelines.md
View file @
fdd52a6b
...
@@ -36,14 +36,14 @@ cancel the build, retry it, or erase the build trace.
...
@@ -36,14 +36,14 @@ cancel the build, retry it, or erase the build trace.
## Badges
## Badges
There are build status and test coverage report badges
available.
Build status and test coverage report badges are
available.
Go to pipeline settings to see available badges and code you can use to embed
Go to pipeline settings to see available badges and code you can use to embed
badges in the
`README.md`
or
your
website.
badges in the
`README.md`
or
on the
website.
### Build status badge
### Build status badge
You can access a build status badge image using following link:
You can access a build status badge image using
the
following link:
```
```
http://example.gitlab.com/namespace/project/badges/branch/build.svg
http://example.gitlab.com/namespace/project/badges/branch/build.svg
...
@@ -55,7 +55,7 @@ GitLab makes it possible to define the regular expression for coverage report,
...
@@ -55,7 +55,7 @@ GitLab makes it possible to define the regular expression for coverage report,
that each build log will be matched against. This means that each build in the
that each build log will be matched against. This means that each build in the
pipeline can have the test coverage percentage value defined.
pipeline can have the test coverage percentage value defined.
You can access test coverage badge using following link:
You can access t
he t
est coverage badge using following link:
```
```
http://example.gitlab.com/namespace/project/badges/branch/coverage.svg
http://example.gitlab.com/namespace/project/badges/branch/coverage.svg
...
@@ -63,7 +63,7 @@ http://example.gitlab.com/namespace/project/badges/branch/coverage.svg
...
@@ -63,7 +63,7 @@ http://example.gitlab.com/namespace/project/badges/branch/coverage.svg
If you would like to get the coverage report from the specific job, you can add
If you would like to get the coverage report from the specific job, you can add
a
`job=coverage_job_name`
parameter to the URL. For example, it is possible to
a
`job=coverage_job_name`
parameter to the URL. For example, it is possible to
use following Markdown code to embed the est coverage report into
`README.md`
:
use following Markdown code to embed the
t
est coverage report into
`README.md`
:
```
markdown
```
markdown
![
coverage
](
http://gitlab.com/gitlab-org/gitlab-ce/badges/master/coverage.svg?job=coverage
)
![
coverage
](
http://gitlab.com/gitlab-org/gitlab-ce/badges/master/coverage.svg?job=coverage
)
...
...
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