Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Artifacts::MavenArtifact.
A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#artifact_id
def artifact_id() -> ::String
-
(::String) — Maven
artifactId
value used when uploading the artifact to Artifact Registry.
#artifact_id=
def artifact_id=(value) -> ::String
-
value (::String) — Maven
artifactId
value used when uploading the artifact to Artifact Registry.
-
(::String) — Maven
artifactId
value used when uploading the artifact to Artifact Registry.
#group_id
def group_id() -> ::String
-
(::String) — Maven
groupId
value used when uploading the artifact to Artifact Registry.
#group_id=
def group_id=(value) -> ::String
-
value (::String) — Maven
groupId
value used when uploading the artifact to Artifact Registry.
-
(::String) — Maven
groupId
value used when uploading the artifact to Artifact Registry.
#path
def path() -> ::String
- (::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.
#path=
def path=(value) -> ::String
- value (::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.
- (::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.
#repository
def repository() -> ::String
-
(::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.
#repository=
def repository=(value) -> ::String
-
value (::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.
-
(::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.
#version
def version() -> ::String
-
(::String) — Maven
version
value used when uploading the artifact to Artifact Registry.
#version=
def version=(value) -> ::String
-
value (::String) — Maven
version
value used when uploading the artifact to Artifact Registry.
-
(::String) — Maven
version
value used when uploading the artifact to Artifact Registry.