In order to work around this issue Creating a dashboard for the last branch deployed through pipelines I thought I would try hitting the Azure DevOps API. It works fine for the most part however I've observed that the GET Run API does not return all the repository information for mult-repo pipelines (https://docs.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/get?view=azure-devops-rest-6.0). It only seems to return data for the self repo. For example, the response payload for one of my runs looks like:
"resources": {
"repositories": {
"self": {
"repository": null,
"refName": "refs/heads/master",
"version": "commit-hash"
}
}
},
Despite the fact that there are several other repos checked out in the pipeline. Is this a bug or expected? Is there a workaround?
Thanks!
