I have a multi-repo pipeline
Can azure track build status for commits for repositories other than the self repo that contains the azure-pipelines.yaml file?
When a commit is built in another pipeline status badge is not shown. It seems the build is linked to the last commit of the self repo instead of the triggering repo
I don't know how to modify this behaviour and I'm expect that the build is linked to the commit that trigger the pipeline (commit of another repo).
The build status badge is displayed because by default, the option to
Report build status
is enabled for a YAML pipeline; and this option will have the badge displayed on the source repository instead of the repository resource that triggers the pipeline.For this, you can suggest a feature request to display the build status badge on all repository resources. As of now, you may also consider the workaround to add a status badge to your repository Readme.md with the help of the badge Markdown.
Hope the information would be helpful.