Class: Aws::CodeBuild::Types::BuildPhase

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

Overview

Information about a stage for a build.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contextsArray<Types::PhaseContext>

Additional information about a build phase, especially to help troubleshoot a failed build.

Returns:



1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'lib/aws-sdk-codebuild/types.rb', line 1117

class BuildPhase < 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 build’s phase.

Returns:

  • (Integer)


1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'lib/aws-sdk-codebuild/types.rb', line 1117

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

#end_timeTime

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

Returns:

  • (Time)


1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'lib/aws-sdk-codebuild/types.rb', line 1117

class BuildPhase < 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 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)


1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'lib/aws-sdk-codebuild/types.rb', line 1117

class BuildPhase < 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 build phase. Valid values include:

BUILD

: Core build activities typically occur in this build phase.

COMPLETED

: The build has been completed.

DOWNLOAD_SOURCE

: Source code is being downloaded in this build phase.

FINALIZING

: The build process is completing in this build phase.

INSTALL

: Installation activities typically occur in this build phase.

POST_BUILD

: Post-build activities typically occur in this build phase.

PRE_BUILD

: Pre-build activities typically occur in this build phase.

PROVISIONING

: The build environment is being set up.

QUEUED

: The build has been submitted and is queued behind other submitted

builds.

SUBMITTED

: The build has been submitted.

UPLOAD_ARTIFACTS

: Build output artifacts are being uploaded to the output location.

Returns:

  • (String)


1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'lib/aws-sdk-codebuild/types.rb', line 1117

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

#start_timeTime

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

Returns:

  • (Time)


1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'lib/aws-sdk-codebuild/types.rb', line 1117

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