I have to call this Azure Devops REST api which requires runId and what is this runid and how to get it
REST API ENDPOINT - GET https://learn.microsoft.com/en-us/rest/api/azure/devops/test/runs/get-test-run-by-id?view=azure-devops-rest-7.1&tabs=HTTP
I have seen this and this SO links but it is not working & there is no clear way to get runid in Azure DevOps Pipelines.Even if i call this end point to get all runs results, how i would filter current running pipeline.
I need to get runid of the current running pipeline to invoke above REST API.