-
-
Notifications
You must be signed in to change notification settings - Fork 7
Get AzArtifact
Apostolis Bekiaris edited this page Apr 26, 2020
·
4 revisions
Download AzureDevOps Build artifacts.
Get-AzArtifact -Definition <String[]> [-ArtifactName <String>] [-Outpath <DirectoryInfo>] [-NoExpandArchive]
[-Organization <String>] [-Project <String>] [-Token <String>] [<CommonParameters>]
Get-AzArtifact -BuildId <Int32> [-ArtifactName <String>] [-Outpath <DirectoryInfo>] [-NoExpandArchive]
[-Organization <String>] [-Project <String>] [-Token <String>] [<CommonParameters>]
Download AzureDevOps Build artifacts.
PS C:\> Get-AzArtifact -BuildId $build.id -Outpath $Root
Download all artifacts from $build.id
into the $Root
path.
{{ Fill ArtifactName Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill BuildId Description }}
Type: Int32
Parameter Sets: BuildId
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Definition Description }}
Type: String[]
Parameter Sets: definition
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
{{ Fill NoExpandArchive Description }}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Organization Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Outpath Description }}
Type: DirectoryInfo
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Project Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Token Description }}
Type: String
Parameter Sets: (All)
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.