Class: Aws::CodeBuild::Types::BuildBatchPhase

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

Overview

Contains information about a stage for a batch build.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contextsArray<Types::PhaseContext>

Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.

Returns:



947
948
949
950
951
952
953
954
955
956
# File 'lib/aws-sdk-codebuild/types.rb', line 947

class BuildBatchPhase < Struct.new(
  :phase_type,
  :phase_status,
  :start_time,
  :end_time,
  :duration_in_seconds,
  :contexts)
  SENSITIVE = []
  include Aws::Structure
end

#duration_in_secondsInteger

How long, in seconds, between the starting and ending times of the batch build’s phase.

Returns:

  • (Integer)


947
948
949
950
951
952
953
954
955
956
# File 'lib/aws-sdk-codebuild/types.rb', line 947

class BuildBatchPhase < Struct.new(
  :phase_type,
  :phase_status,
  :start_time,
  :end_time,
  :duration_in_seconds,
  :contexts)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

When the batch build phase ended, expressed in Unix time format.

Returns:

  • (Time)


947
948
949
950
951
952
953
954
955
956
# File 'lib/aws-sdk-codebuild/types.rb', line 947

class BuildBatchPhase < Struct.new(
  :phase_type,
  :phase_status,
  :start_time,
  :end_time,
  :duration_in_seconds,
  :contexts)
  SENSITIVE = []
  include Aws::Structure
end

#phase_statusString

The current status of the batch build phase. Valid values include:

FAILED

: The build phase failed.

FAULT

: The build phase faulted.

IN_PROGRESS

: The build phase is still in progress.

STOPPED

: The build phase stopped.

SUCCEEDED

: The build phase succeeded.

TIMED_OUT

: The build phase timed out.

Returns:

  • (String)


947
948
949
950
951
952
953
954
955
956
# File 'lib/aws-sdk-codebuild/types.rb', line 947

class BuildBatchPhase < Struct.new(
  :phase_type,
  :phase_status,
  :start_time,
  :end_time,
  :duration_in_seconds,
  :contexts)
  SENSITIVE = []
  include Aws::Structure
end

#phase_typeString

The name of the batch build phase. Valid values include:

COMBINE_ARTIFACTS

: Build output artifacts are being combined and uploaded to the

output location.

DOWNLOAD_BATCHSPEC

: The batch build specification is being downloaded.

FAILED

: One or more of the builds failed.

IN_PROGRESS

: The batch build is in progress.

STOPPED

: The batch build was stopped.

SUBMITTED

: The btach build has been submitted.

SUCCEEDED

: The batch build succeeded.

Returns:

  • (String)


947
948
949
950
951
952
953
954
955
956
# File 'lib/aws-sdk-codebuild/types.rb', line 947

class BuildBatchPhase < Struct.new(
  :phase_type,
  :phase_status,
  :start_time,
  :end_time,
  :duration_in_seconds,
  :contexts)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

When the batch build phase started, expressed in Unix time format.

Returns:

  • (Time)


947
948
949
950
951
952
953
954
955
956
# File 'lib/aws-sdk-codebuild/types.rb', line 947

class BuildBatchPhase < Struct.new(
  :phase_type,
  :phase_status,
  :start_time,
  :end_time,
  :duration_in_seconds,
  :contexts)
  SENSITIVE = []
  include Aws::Structure
end