Class MavenArtifact (3.21.0)

MavenArtifact(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.

Attributes

NameDescription
repository str
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.
path str
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.
artifact_id str
Maven artifactId value used when uploading the artifact to Artifact Registry.
group_id str
Maven groupId value used when uploading the artifact to Artifact Registry.
version str
Maven version value used when uploading the artifact to Artifact Registry.