Skip to main content

Queue build

Queue a build of a build definition (classic or YAML) on a branch.

Command in the Azure DevOps toolkit · id ooa.azure_devops/queue_build · 6 inputs (4 required), 3 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 IDNumberYesBuild definition id.
BranchStringNoBranch to build. Empty uses the definition's default.
ParametersDictionaryNoQueue-time variables, e.g. {"Configuration": "Release"}.

Outputs​

OutputTypeWhat it is
build_idNumberId of the queued build.
build_numberStringBuild number, e.g. 20261020.3.
urlStringWeb address of the build.