azure-devopsazure-devops-rest-api

Cant get the badge for a single platform in Azure DevOps


I have an Azure DevOps pipeline with multiple jobs (MacOS, Ubuntu, Windows).

I am able to get the general build status by building on the following url

[![Build Status](https://dev.azure.com/{organization}/{project}/_apis/build/status/{pipelineName}?branchName=dev)](https://dev.azure.com/{organization}/{project}/_build/latest?definitionId={definitionId})

Please note the parameters {organization}, {project}, {pipelineName}, {branch} and {definitionId}

However I am not able to show a different badge for any single job/platform in the pipeline. Is that possible?


Solution

  • Azure Pipeline's Badges show the general build status of the pipeline, not a specific job or task.

    Create another pipeline and use the new badge.