You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeBuild::Types::Build

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

Overview

Information about a build.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the build.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#artifactsTypes::BuildArtifacts

Information about the output artifacts for the build.



206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#build_completeBoolean

Whether the build has finished. True if completed; otherwise, false.

Returns:

  • (Boolean)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#build_statusString

The current status of the build. Valid values include:

  • FAILED: The build failed.

  • FAULT: The build faulted.

  • IN_PROGRESS: The build is still in progress.

  • STOPPED: The build stopped.

  • SUCCEEDED: The build succeeded.

  • TIMED_OUT: The build timed out.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#current_phaseString

The current build phase.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#end_timeTime

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

Returns:

  • (Time)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#environmentTypes::ProjectEnvironment

Information about the build environment for this build.



206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#idString

The unique ID for the build.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#initiatorString

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#logsTypes::LogsLocation

Information about the build's logs in Amazon CloudWatch Logs.

Returns:



206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#phasesArray<Types::BuildPhase>

Information about all previous build phases that are completed and information about any current build phase that is not yet complete.

Returns:



206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#project_nameString

The name of the build project.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#sourceTypes::ProjectSource

Information about the source code to be built.



206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#source_versionString

Any version identifier for the version of the source code to be built.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#start_timeTime

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

Returns:

  • (Time)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end

#timeout_in_minutesInteger

How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed.

Returns:

  • (Integer)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 206

class Build < Struct.new(
  :id,
  :arn,
  :start_time,
  :end_time,
  :current_phase,
  :build_status,
  :source_version,
  :project_name,
  :phases,
  :source,
  :artifacts,
  :environment,
  :logs,
  :timeout_in_minutes,
  :build_complete,
  :initiator)
  include Aws::Structure
end