< Back

Get-AzureDevOpsBuild

Sat Jan 11, 2020 10:24 am

NAME Get-AzureDevOpsBuild



SYNOPSIS

Gets a single build by specifying BuildId or get all builds for one or multiple build definitions by specifying

the BuildDefinitionIds.





SYNTAX

Get-AzureDevOpsBuild [-BuildDefinitionId <Int32[]>] [<CommonParameters>]



Get-AzureDevOpsBuild [-BuildId <Int32>] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-BuildDefinitionId <Int32[]>

The Id number(s) for the build definition(s) you want to get all builds for.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-BuildId <Int32>

The Id number of the specific build you want to get.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES









-------------------------- Example 1 --------------------------



Get-AzureDevOpsBuild -BuildDefinitionId 123



Getting all builds for build definition 123







-------------------------- Example 2 --------------------------



Get-AzureDevOpsBuild -BuildDefinitionId 123,456,789



Getting all builds for definitions 123, 456, and 789







-------------------------- Example 3 --------------------------



Get-AzureDevOpsBuild -BuildId 456



Getting build 456









RELATED LINKS

Online Documentation http://devopsmodule.utmonline.net/docs/ ... /getbuild/