external help file | Module Name | online version | schema |
---|---|---|---|
AzDevOps-help.xml |
AzDevOps |
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 : True
Get 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: False
The 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: False
The 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: False
The 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: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.