Class: Aws::CodeBuild::Types::AutoRetryConfig

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

Overview

Information about the auto-retry configuration for the build.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_retry_limitInteger

The maximum number of additional automatic retries after a failed build. For example, if the auto-retry limit is set to 2, CodeBuild will call the ‘RetryBuild` API to automatically retry your build for up to 2 additional times.

Returns:

  • (Integer)


47
48
49
50
51
52
53
54
# File 'lib/aws-sdk-codebuild/types.rb', line 47

class AutoRetryConfig < Struct.new(
  :auto_retry_limit,
  :auto_retry_number,
  :next_auto_retry,
  :previous_auto_retry)
  SENSITIVE = []
  include Aws::Structure
end

#auto_retry_numberInteger

The number of times that the build has been retried. The initial build will have an auto-retry number of 0.

Returns:

  • (Integer)


47
48
49
50
51
52
53
54
# File 'lib/aws-sdk-codebuild/types.rb', line 47

class AutoRetryConfig < Struct.new(
  :auto_retry_limit,
  :auto_retry_number,
  :next_auto_retry,
  :previous_auto_retry)
  SENSITIVE = []
  include Aws::Structure
end

#next_auto_retryString

The build ARN of the auto-retried build triggered by the current build. The next auto-retry will be ‘null` for builds that don’t trigger an auto-retry.

Returns:

  • (String)


47
48
49
50
51
52
53
54
# File 'lib/aws-sdk-codebuild/types.rb', line 47

class AutoRetryConfig < Struct.new(
  :auto_retry_limit,
  :auto_retry_number,
  :next_auto_retry,
  :previous_auto_retry)
  SENSITIVE = []
  include Aws::Structure
end

#previous_auto_retryString

The build ARN of the build that triggered the current auto-retry build. The previous auto-retry will be ‘null` for the initial build.

Returns:

  • (String)


47
48
49
50
51
52
53
54
# File 'lib/aws-sdk-codebuild/types.rb', line 47

class AutoRetryConfig < Struct.new(
  :auto_retry_limit,
  :auto_retry_number,
  :next_auto_retry,
  :previous_auto_retry)
  SENSITIVE = []
  include Aws::Structure
end