ReportGroupType Enum
The type of reports in the report group.
Example
ts
declare const source: codebuild.Source;
// create a new ReportGroup
const reportGroup = new codebuild.ReportGroup(this, 'ReportGroup', {
type: codebuild.ReportGroupType.CODE_COVERAGE
});
const project = new codebuild.Project(this, 'Project', {
source,
buildSpec: codebuild.BuildSpec.fromObject({
// ...
reports: {
[reportGroup.reportGroupArn]: {
files: '**/*',
'base-directory': 'build/coverage-report.xml',
'file-format': 'JACOCOXML'
},
},
}),
});
Members
| Member | Description |
|---|---|
TEST | The report group contains test reports. |
CODE_COVERAGE | The report group contains code coverage reports. |
Referenced by
ReportGroup.typetypetypeTypeTypeReportGroupProps.typetypetypeTypeType