reportBuildStatus

@JvmName(name = "nqwhxupcbciarfbx")
suspend fun reportBuildStatus(value: Output<Boolean>)
@JvmName(name = "bojkfkfhchnykuyk")
suspend fun reportBuildStatus(value: Boolean?)

Parameters

value

Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.

To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

The status of a build triggered by a webhook is always reported to your source provider.

If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.