Class: Google::Cloud::Build::V1::Artifacts::MavenArtifact

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 Maven artifact to upload to Artifact Registry upon successful completion of all build steps.

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_id::String

Returns Maven artifactId value used when uploading the artifact to Artifact Registry.

Returns:

  • (::String)

    Maven artifactId value used when uploading the artifact to Artifact Registry.



861
862
863
864
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 861

class MavenArtifact
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#group_id::String

Returns Maven groupId value used when uploading the artifact to Artifact Registry.

Returns:

  • (::String)

    Maven groupId value used when uploading the artifact to Artifact Registry.



861
862
863
864
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 861

class MavenArtifact
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#path::String

Returns Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.

Returns:

  • (::String)

    Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.



861
862
863
864
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 861

class MavenArtifact
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#repository::String

Returns Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"

Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.

Returns:

  • (::String)

    Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"

    Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.



861
862
863
864
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 861

class MavenArtifact
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#version::String

Returns Maven version value used when uploading the artifact to Artifact Registry.

Returns:

  • (::String)

    Maven version value used when uploading the artifact to Artifact Registry.



861
862
863
864
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 861

class MavenArtifact
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end