aws-cdk-lib.aws_codebuild.ReportGroupType

enum ReportGroupType

LanguageType name
.NETAmazon.CDK.AWS.CodeBuild.ReportGroupType
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#ReportGroupType
Javasoftware.amazon.awscdk.services.codebuild.ReportGroupType
Pythonaws_cdk.aws_codebuild.ReportGroupType
TypeScript (source)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

NameDescription
TESTThe report group contains test reports.
CODE_COVERAGEThe report group contains code coverage reports.

TEST

The report group contains test reports.


CODE_COVERAGE

The report group contains code coverage reports.