Class ReportGroupType
The type of reports in the report group.
Inheritance
System.Object
ReportGroupType
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ReportGroupType : Enum
Syntax (vb)
Public NotInheritable Class ReportGroupType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Source source;
// create a new ReportGroup
var reportGroup = new ReportGroup(this, "ReportGroup", new ReportGroupProps {
Type = ReportGroupType.CODE_COVERAGE
});
var project = new Project(this, "Project", new ProjectProps {
Source = source,
BuildSpec = BuildSpec.FromObject(new Dictionary<string, object> {
// ...
{ "reports", new Dictionary<string, IDictionary<string, string>> {
{ reportGroup.ReportGroupArn, new Struct {
Files = "**/*",
Base-directory = "build/coverage-report.xml",
File-format = "JACOCOXML"
} }
} }
})
});
Synopsis
Fields
CODE_COVERAGE | The report group contains code coverage reports. |
TEST | The report group contains test reports. |
value__ |
Fields
CODE_COVERAGE
The report group contains code coverage reports.
public const ReportGroupType CODE_COVERAGE
Field Value
Type | Description |
---|---|
ReportGroupType |
TEST
The report group contains test reports.
public const ReportGroupType TEST
Field Value
Type | Description |
---|---|
ReportGroupType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |