File size: 1,420 Bytes
907462b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
**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.json

Contents of create-report-group-source.json::

    {
        "name": "cli-created-report-group",
        "type": "TEST",
        "exportConfig": {
            "exportConfigType": "S3",
            "s3Destination": {
                "bucket": "my-s3-bucket",
                "path": "",
                "packaging": "ZIP",
                "encryptionDisabled": true
            }
        }
    }

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": "my-s3-bucket",
                    "path": "",
                    "packaging": "ZIP",
                    "encryptionDisabled": true
                }
            },
            "created": 1602020026.775,
            "lastModified": 1602020026.775
        }
    }

For more information, see `Working with report groups <https://docs.aws.amazon.com/codebuild/latest/userguide/test-report-group.html>`__ in the *AWS CodeBuild User Guide*.