Class: Google::Cloud::Build::V1::Build::FailureInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

A fatal problem encountered during the execution of the build.

Defined Under Namespace

Modules: FailureType

Instance Attribute Summary collapse

Instance Attribute Details

#detail::String

Returns Explains the failure issue in more detail using hard-coded text.

Returns:

  • (::String)

    Explains the failure issue in more detail using hard-coded text.



670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 670

class FailureInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The name of a fatal problem encountered during the execution of the
  # build.
  module FailureType
    # Type unspecified
    FAILURE_TYPE_UNSPECIFIED = 0

    # Unable to push the image to the repository.
    PUSH_FAILED = 1

    # Final image not found.
    PUSH_IMAGE_NOT_FOUND = 2

    # Unauthorized push of the final image.
    PUSH_NOT_AUTHORIZED = 3

    # Backend logging failures. Should retry.
    LOGGING_FAILURE = 4

    # A build step has failed.
    USER_BUILD_STEP = 5

    # The source fetching has failed.
    FETCH_SOURCE_FAILED = 6
  end
end

#type::Google::Cloud::Build::V1::Build::FailureInfo::FailureType

Returns The name of the failure.

Returns:



670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 670

class FailureInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The name of a fatal problem encountered during the execution of the
  # build.
  module FailureType
    # Type unspecified
    FAILURE_TYPE_UNSPECIFIED = 0

    # Unable to push the image to the repository.
    PUSH_FAILED = 1

    # Final image not found.
    PUSH_IMAGE_NOT_FOUND = 2

    # Unauthorized push of the final image.
    PUSH_NOT_AUTHORIZED = 3

    # Backend logging failures. Should retry.
    LOGGING_FAILURE = 4

    # A build step has failed.
    USER_BUILD_STEP = 5

    # The source fetching has failed.
    FETCH_SOURCE_FAILED = 6
  end
end