CmdID / aws / aws codebuild
aws codebuild create-report-group
Creates a report group. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To create a report group in AWS CodeBuild.
The following create-report-group example creates a new report group.
aws codebuild create-report-group --cli-input-json file://create-report-group-source.jsonIdentifyContents of create-report-group-source.json:
{
"name": "cli-created-report-group",
"type": "TEST",
"exportConfig": {
"exportConfigType": "S3",
"s3Destination": {
"bucket": "amzn-s3-demo-bucket",
"path": "",
"packaging": "ZIP",
"encryptionDisabled": true
}
}
}
Its output
{
"reportGroup": {
"arn": "arn:aws:codebuild:<region-ID>:<user-ID>:report-group/cli-created-report-group",
"name": "cli-created-report-group",
"type": "TEST",
"exportConfig": {
"exportConfigType": "S3",
"s3Destination": {
"bucket": "amzn-s3-demo-bucket",
"path": "",
"packaging": "ZIP",
"encryptionDisabled": true
}
},
"created": 1602020026.775,
"lastModified": 1602020026.775
}
}For more information, see Working with report groups in the AWS CodeBuild User Guide.
Options
--export-configA ReportExportConfig object that contains information about where the report group test results are exported.--nameThe name of the report group.--tagsA list of tag key and value pairs associated with this report group.--typeThe type of report group.