List pipeline runs action in Azure DevOps package
- Updated: 2026/05/08
List pipeline runs action in Azure DevOps package
The List pipeline run action in the Azure DevOps package enables you to retrieve a list of all runs for a specific CI/CD pipeline in the Azure DevOps project of the active session. The action returns the results in a table variable.
Settings
- Session name: The name of the active Azure DevOps session. Choose Session name and enter the name you specified when you opened the session, or choose Variable to use a session variable. The action retrieves pipelines from the organization and project of the specified session.
- Pipeline ID: Specify the numeric identifier of the pipeline whose runs you want to retrieve. Enter the pipeline ID directly or use a string variable.
- Range: Specify the maximum number of pipeline runs to retrieve. Enter
a value from 1 through 200. If the pipeline has fewer runs than the specified
value, the action returns all available runs. If the pipeline has
more runs than the specified value, the action returns only the
most recent runs up to that value.
Example: A pipeline has 300 runs, and you enter 50. The action returns the 50 most recent runs. If the same pipeline has only 20 runs and you enter 50, the action returns all 20 runs.
- Assign output to a variable: The table variable to store the list of pipeline runs returned by Azure DevOps. The action retrieves the following columns: runid, runName, pipelineId, pipelineName, pipelineFolder, pipelineRevision, createdDate, finishedDate, runURL,result and state.