ReportGroupType

class aws_cdk.aws_codebuild.ReportGroupType(value)

Bases: Enum

The type of reports in the report group.

ExampleMetadata:

infused

Example:

# source: codebuild.Source


# create a new ReportGroup
report_group = codebuild.ReportGroup(self, "ReportGroup",
    type=codebuild.ReportGroupType.CODE_COVERAGE
)

project = codebuild.Project(self, "Project",
    source=source,
    build_spec=codebuild.BuildSpec.from_object({
        # ...
        "reports": {
            "report_group.report_group_arn": {
                "files": "**/*",
                "base-directory": "build/coverage-report.xml",
                "file-format": "JACOCOXML"
            }
        }
    })
)

Attributes

CODE_COVERAGE

The report group contains code coverage reports.

TEST

The report group contains test reports.