enum ReportGroupType
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeBuild.ReportGroupType |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#ReportGroupType |
![]() | software.amazon.awscdk.services.codebuild.ReportGroupType |
![]() | aws_cdk.aws_codebuild.ReportGroupType |
![]() | aws-cdk-lib » aws_codebuild » ReportGroupType |
The type of reports in the report group.
Example
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
Name | Description |
---|---|
TEST | The report group contains test reports. |
CODE_COVERAGE | The report group contains code coverage reports. |
TEST
The report group contains test reports.
CODE_COVERAGE
The report group contains code coverage reports.