Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Pipelines status badge not getting displayed in markdown

Tags:

I've set up azure pipelines for one of my github repositories. Everything is working perfect except the build status badge. It is not getting displayed correctly, it seems like the image could not be loaded.

This is currently getting displayed:

enter image description here

Edit

Code used in the markdown file is automatically generated by azure devops

[![Build Status](https://dev.azure.com/larsbehl/larsbehl/_apis/build/status/LarsBehl.llCompiler?branchName=master)](https://dev.azure.com/larsbehl/larsbehl/_build/latest?definitionId=1&branchName=master)
like image 732
Lars Behl Avatar asked Nov 02 '19 19:11

Lars Behl


People also ask

How do I run Azure pipeline in debug mode?

To configure verbose logs for a single run, you can start a new build by choosing Run pipeline and selecting Enable system diagnostics, Run. To configure verbose logs for all runs, you can add a variable named system. debug and set its value to true .

How do I add Azure pipeline to GitHub?

Visit the project's Pipelines page (for example, https://dev.azure.com/your-organization/your-project/_build ). Select the pipeline for which to set specific permissions. From the '...' context menu, select Security. Select Add... to add a specific user, team, or group and customize their permissions for the pipeline.


1 Answers

Allow anonymous access to badges might be disabled for your project settings.

You can go to Project Settings, click Settings under Pipelines. And make sure toggle Disable anonymous access to badges is off. Please refer to below pic.

enter image description here

like image 200
Levi Lu-MSFT Avatar answered Oct 06 '22 06:10

Levi Lu-MSFT