| external help file | AzDevOps-help.xml |
|---|---|
| Module Name | AzDevOps |
| online version | https://github.com/Azure-Devops-PowerShell-Module/build/blob/master/docs/Get-AdoBuild.md#get-adobuild |
| schema | 2.0.0 |
Return one or more builds from a project
Get-AdoBuild [-Project <Object>] [-BuildId <Int32>] [-ApiVersion <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]Get-AdoBuild [-ProjectId <Guid>] [-BuildId <Int32>] [-ApiVersion <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]This function will allow you to get a list of builds within a project or return a specific build from a project
PS C:\> Get-AdoBuild -Project $Project
_links : @{self=; web=; sourceVersionDisplayUri=; timeline=; badge=}
properties :
tags : {}
validationResults : {}
plans : {@{planId=d6f142f2-e0cc-4e3e-ba38-4a27bff743c1}}
triggerInfo :
id : 195
buildNumber : 20200810.17
...
appendCommitMessageToRunName : TrueGet a list of builds
A valid API Version for this endpoint
Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: 5.1, 7.1-preview.7, 7.2-preview.7
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe build id for the build
Type: System.Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe project where the build(s) can be found
Type: System.Object
Parameter Sets: Project
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseThe project id of the project where the build(s) can be found
Type: System.Guid
Parameter Sets: ProjectId
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.