Enum ReportGroupType
The type of reports in the report group.
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum ReportGroupType
Syntax (vb)
Public Enum ReportGroupType
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. |
Fields
Name | Description |
---|---|
CODE_COVERAGE | The report group contains code coverage reports. |
TEST | The report group contains test reports. |