Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::CodeBuild::Types::BuildStatusConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb

Overview

Contains information that defines how the CodeBuild build project reports the build status to the source provider.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contextString

Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket

This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

GitHub/GitHub Enterprise Server

This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

Returns:

  • (String)

1237
1238
1239
1240
1241
1242
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1237

class BuildStatusConfig < Struct.new(
  :context,
  :target_url)
  SENSITIVE = []
  include Aws::Structure
end

#target_urlString

Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket

This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

GitHub/GitHub Enterprise Server

This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

Returns:

  • (String)

1237
1238
1239
1240
1241
1242
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1237

class BuildStatusConfig < Struct.new(
  :context,
  :target_url)
  SENSITIVE = []
  include Aws::Structure
end