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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Information about a build.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the build.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the build.

#artifactsTypes::BuildArtifacts

Information about the output artifacts for the build.

Returns:

#build_completeBoolean

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

Returns:

  • (Boolean)

    Whether the build has finished.

#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.

    Possible values:

    • SUCCEEDED
    • FAILED
    • FAULT
    • TIMED_OUT
    • IN_PROGRESS
    • STOPPED

Returns:

  • (String)

    The current status of the build.

#cacheTypes::ProjectCache

Information about the cache for the build.

Returns:

#current_phaseString

The current build phase.

Returns:

  • (String)

    The current build phase.

#end_timeTime

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

Returns:

  • (Time)

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

#environmentTypes::ProjectEnvironment

Information about the build environment for this build.

Returns:

#idString

The unique ID for the build.

Returns:

  • (String)

    The unique ID for the build.

#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)

    The entity that started the build.

#logsTypes::LogsLocation

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

Returns:

#network_interfaceTypes::NetworkInterface

Describes a network interface.

Returns:

#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:

  • (Array<Types::BuildPhase>)

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

#project_nameString

The name of the build project.

Returns:

  • (String)

    The name of the build project.

#sourceTypes::ProjectSource

Information about the source code to be built.

Returns:

#source_versionString

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

Returns:

  • (String)

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

#start_timeTime

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

Returns:

  • (Time)

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

#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)

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

#vpc_configTypes::VpcConfig

If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide this parameter that identifies the VPC ID and the list of security group IDs and subnet IDs. The security groups and subnets must belong to the same VPC. You must provide at least one security group and one subnet ID.

Returns:

  • (Types::VpcConfig)

    If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide this parameter that identifies the VPC ID and the list of security group IDs and subnet IDs.