< Back

Get-BuildCodeCoverage

Sun Jan 19, 2020 6:08 pm

NAME Get-BuildCodeCoverage



SYNOPSIS

Gets latest build code coverage





SYNTAX

Get-BuildCodeCoverage [[-BuildDefinition] <String>] [[-Account] <String>] [[-Project] <String>] [[-Type] <String>]

[<CommonParameters>]





DESCRIPTION

Get-BuildCodeCoverage will query your AzureDevOps project to get the recent build's code coverage results





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



-Type <String>



Required? false

Position? 4

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