Skip to main content

List builds

List recent builds, newest first, optionally for one definition, branch, status or result.

Command in the Azure DevOps toolkit · id ooa.azure_devops/list_builds · 8 inputs (3 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringYesOrganization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server.
Personal access tokenCredentialYesPersonal access token from the vault, with the scopes this action needs (e.g. Work Items read and write); a Microsoft Entra ID token works too. Or leave it empty and choose a connection that signs in, which gets and renews the token.
ProjectStringYesProject name, e.g. Finance Portal.
Definition IDNumberNoOnly builds of this definition.
BranchStringNoOnly builds of this branch.
StatusStringNoOnly builds with this status, e.g. inProgress or completed.
ResultStringNoOnly builds with this result, e.g. succeeded or failed.
Maximum resultsNumberNo50Most items to return; pages are read until this many are found.

Outputs​

OutputTypeWhat it is
tableTableColumns: id, build_number, status, result, definition, branch, queued, finished.
countNumberNumber of builds returned.