19
votes

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)
2
Please provide some kind of code.Raj

2 Answers

42
votes

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

1
votes

Here's how to update this setting!

Go to "Organization Settings", then find "Pipelines" > "Setting"> "Disable anonymous access to badges"

Screenshot for reference: Azure organization settings