Reactiveui: housekeeping: Azure Pipelines CI Badge link became broken

Created on 11 Jun 2020  路  6Comments  路  Source: reactiveui/ReactiveUI

Describe the bug

After changing the default branch master to main in some of my repositories (first, second), Azure Pipelines CI Badge links in README.md became broken. Then I decided to check if ReactiveUI's main repository experiences the same issue. It turned out, that the following link is no longer working:

https://dev.azure.com/dotnet/ReactiveUI/_build/latest?definitionId=11

image

However, the following link works, but doesn't point to build results:

https://dev.azure.com/dotnet/ReactiveUI/_build/?definitionId=11

The link generated by Azure Pipelines Status Badge button is not working as well:

https://dev.azure.com/dotnet/ReactiveUI/_build/latest?definitionId=11&branchName=main

Expected behavior

When one clicks the Azure Pipelines CI badge, the page displaying build results should open.

Additional context

After looking through Azure Pipelines CI configuration, discovered that the branch name master is stored in ... -> Edit Pipeline -> ... -> Triggers -> YAML -> Get Sources -> Default branch for manual and scheduled builds. Probably worth changing the branch name there as well. However, this doesn't seem to fix the original issue.

consumer-experience documentation housekeeping

Most helpful comment

Yeah. This was the text produced by azure DevOps itself. I will make a tweet to the Microsoft twitter world in my morning.

All 6 comments

[![Build Status](https://dev.azure.com/dotnet/ReactiveUI/_apis/build/status/ReactiveUI-CI?branchName=main)](https://dev.azure.com/dotnet/ReactiveUI/_build/latest?definitionId=11&branchName=main)

or

https://dev.azure.com/dotnet/ReactiveUI/_apis/build/status/ReactiveUI-CI?branchName=main

Still getting 404 after clicking this badge:

[![Build Status](https://dev.azure.com/dotnet/ReactiveUI/_apis/build/status/ReactiveUI-CI?branchName=main)](https://dev.azure.com/dotnet/ReactiveUI/_build/latest?definitionId=11&branchName=main)

Build Status

Probably explanations were unclear: the badge is shown, but clicking it redirects to 404. Probably we could temporarily make the badges non-clickable or so.

Update

Hmm, weird. Probably the issue isn't related to the renaming of branches at all. Clicking the Azure Pipelines badge in README.md file of reactiveui/splat causes the same redirect to 404:

Build Status

image

Yeah. This was the text produced by azure DevOps itself. I will make a tweet to the Microsoft twitter world in my morning.

Looks to be a sitewide issue and not related to branch name change (see https://github.com/martinwoodward/hello64 - a project I haven't touched in a long time).

Pinging @vijayma and folks internally on the Pipelines team.

GitHub
A Hello World from my childhood. Contribute to martinwoodward/hello64 development by creating an account on GitHub.

We are investigating. This is not related to your branch name change.

Seems this issue is resolved now. Thank you, folks! 馃帀

Was this page helpful?
0 / 5 - 0 ratings