Skip to content

Commit 5585628

Browse files
author
AWS
committed
AWS CodeBuild Update: CodeBuild now allows you to select how batch build statuses are sent to the source provider for a project.
1 parent d98b79d commit 5585628

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS CodeBuild",
4+
"contributor": "",
5+
"description": "CodeBuild now allows you to select how batch build statuses are sent to the source provider for a project."
6+
}

services/codebuild/src/main/resources/codegen-resources/service-2.json

+14-3
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,13 @@
804804
}
805805
}
806806
},
807+
"BatchReportModeType":{
808+
"type":"string",
809+
"enum":[
810+
"REPORT_INDIVIDUAL_BUILDS",
811+
"REPORT_AGGREGATED_BATCH"
812+
]
813+
},
807814
"BatchRestrictions":{
808815
"type":"structure",
809816
"members":{
@@ -2234,7 +2241,7 @@
22342241
},
22352242
"sortOrder":{
22362243
"shape":"SortOrderType",
2237-
"documentation":"<p>The order to list results in. The results are sorted by build number, not the build identifier.</p> <p>Valid values include:</p> <ul> <li> <p> <code>ASCENDING</code>: List the build IDs in ascending order by build ID.</p> </li> <li> <p> <code>DESCENDING</code>: List the build IDs in descending order by build ID.</p> </li> </ul> <p>If the project has more than 100 builds, setting the sort order will result in an error. </p>"
2244+
"documentation":"<p>The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.</p> <p>Valid values include:</p> <ul> <li> <p> <code>ASCENDING</code>: List the build identifiers in ascending order, by build number.</p> </li> <li> <p> <code>DESCENDING</code>: List the build identifiers in descending order, by build number.</p> </li> </ul> <p>If the project has more than 100 builds, setting the sort order will result in an error. </p>"
22382245
},
22392246
"nextToken":{
22402247
"shape":"String",
@@ -2247,7 +2254,7 @@
22472254
"members":{
22482255
"ids":{
22492256
"shape":"BuildIds",
2250-
"documentation":"<p>A list of build IDs for the specified build project, with each build ID representing a single build.</p>"
2257+
"documentation":"<p>A list of build identifiers for the specified build project, with each build ID representing a single build.</p>"
22512258
},
22522259
"nextToken":{
22532260
"shape":"String",
@@ -2842,6 +2849,10 @@
28422849
"timeoutInMins":{
28432850
"shape":"WrapperInt",
28442851
"documentation":"<p>Specifies the maximum amount of time, in minutes, that the batch build must be completed in.</p>"
2852+
},
2853+
"batchReportMode":{
2854+
"shape":"BatchReportModeType",
2855+
"documentation":"<p>Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.</p> <dl> <dt>REPORT_AGGREGATED_BATCH</dt> <dd> <p>(Default) Aggregate all of the build statuses into a single status report.</p> </dd> <dt>REPORT_INDIVIDUAL_BUILDS</dt> <dd> <p>Send a separate status report for each individual build.</p> </dd> </dl>"
28452856
}
28462857
},
28472858
"documentation":"<p>Contains configuration information about a batch build project.</p>"
@@ -4042,7 +4053,7 @@
40424053
},
40434054
"secondaryArtifacts":{
40444055
"shape":"ProjectArtifactsList",
4045-
"documentation":"<p> An array of <code>ProjectSource</code> objects. </p>"
4056+
"documentation":"<p> An array of <code>ProjectArtifact</code> objects. </p>"
40464057
},
40474058
"cache":{
40484059
"shape":"ProjectCache",

0 commit comments

Comments
 (0)