This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:git:gitlab:badges:examples [2022/05/17 13:32] – mb | dev:git:gitlab:badges:examples [2022/11/14 14:00] (current) – mb | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Create badges via web ui ====== | ====== Create badges via web ui ====== | ||
- | Badges are used to show states of e.g. pipelines and jobs. They can also be exported and shown in http or markdown files, to integrate cross project badges. \\ Find more about [[https:// | + | Badges are used to show states of e.g. pipelines and jobs. They can also be exported and shown in http or markdown files, to integrate cross project badges.\\ Find more about [[https:// |
To create a project badge, open the project in gitlab and go to " | To create a project badge, open the project in gitlab and go to " | ||
- | Now 3 textfields | + | Now 3 text fields |
* name | * name | ||
* link | * link | ||
* Badge image URL | * Badge image URL | ||
+ | |||
+ | Example configuration for a badge to show the latest-release name: \\ | ||
+ | {{: | ||
+ | This configuration links to the project page. Linking to other project sub-pages is also possible. \\ | ||
+ | Most important is the Badge Image URL which describes what to show. As seen in the picture a path below the project page is set. With " | ||
+ | Another and more common example is the pipeline badge. In this case it links directly to the project pipelines. \\ As mentioned the path order is a little bit different to the release badge. \\ | ||
+ | {{: | ||
- | {{ : |