Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-10 03:10:20 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-10 03:10:20 +0300
commit54763b367cd828086a6f4a9956484ce0229ae1b7 (patch)
treeb1546cd8c92d5772ef993cc56b304bd5d94c6780 /doc/user/project/badges.md
parent4c7e0ab3f11c10718a9fc825253b538841897843 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/project/badges.md')
-rw-r--r--doc/user/project/badges.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/user/project/badges.md b/doc/user/project/badges.md
index 6b60ea444e3..ed6e2460554 100644
--- a/doc/user/project/badges.md
+++ b/doc/user/project/badges.md
@@ -36,6 +36,20 @@ clicking on the trash icon.
Badges associated with a group can only be edited or deleted on the
[group level](#group-badges).
+### Example project badge: Pipeline Status
+
+A common project badge presents the GitLab CI pipeline status.
+
+To add this badge to a project:
+
+1. Navigate to your project's **Settings > General > Badges**.
+1. Under **Name**, enter _Pipeline Status_.
+1. Under **Link**, enter the following URL:
+ `https://gitlab.com/%{project_path}/-/commits/%{default_branch}`
+1. Under **Badge image URL**, enter the following URL:
+ `https://gitlab.com/%{project_path}/badges/%{default_branch}/pipeline.svg`
+1. Submit the badge by clicking the **Add badge** button.
+
## Group badges
Badges can be added to a group and will then be visible on every project's