< Back

Get-Builds

Sun Jan 19, 2020 6:08 pm

NAME Get-Builds



SYNOPSIS

Gets builds





SYNTAX

Get-Builds [[-BuildDefinition] <String>] [[-Account] <String>] [[-Project] <String>] [[-Take] <Int32>] [[-Type]

<String>] [<CommonParameters>]





DESCRIPTION

Get-Builds will query your AzureDevOps project to get the recent builds





PARAMETERS

-BuildDefinition <String>

The name of the build definition. Can be inherited from a config file.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Account <String>

The acount name to use. Can be inherited from a config file.

If your AzureDevOps url is hello.visualstudio.com then this value should be hello.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Project <String>

The project name to use. Can be inherited from a config file.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Take <Int32>

The number of builds to show. Defaults to the 5.



Required? false

Position? 4

Default value 5

Accept pipeline input? false

Accept wildcard characters? false



-Type <String>



Required? false

Position? 5

Default value build

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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-Builds -BuildDefinition myBuildDef -Account myAccount -Project myProject















RELATED LINKS

about_PsAzureDevOps