Adding Build Badges

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide

Build badges enable you to display the current status of your pipeline in your repository. This is useful for instantly showcasing your build statuses and promoting transparency within your team.

While a build badge can be added to your readme.md file, it can also be added to any web page.

buildBadge_17jul23.png

To add a build badge, add the following:

Run-level Build Badge

  • Single Branch Source: https://{host_name}/pipelines/api/v1/badges/project/{project_key}/pipelines/{pipelines_name}?text=JFrogPipelines

    Example

    ![Approval Gates](https://pipelines.jfrog.io/pipelines/api/v1/badges/project/quickstarts/pipelines/Approval_Gates_Pipeline?text=JFrogPipelines)

  • Multi Branch Source: https://{host_name}/pipelines/api/v1/badges/project/{project_key}/pipelines/{pipelines_name}?branch={branch_name}&text=JFrogPipelines

Step-level Build Badge

http://{host_name}/pipelines/api/v1/badges/project/{project_key}/pipelines/{pipeline_name}/steps/{step_name}?text=JFrogPipelines

Example

![Approval Gates](https://pipelines.jfrog.io/pipelines/api/v1/badges/project/quickstarts/pipelines/Approval_Gates_Pipeline/steps/p1_s1?text=JFrogPipelines)