pub struct MavenArtifact {
pub artifact_id: Option<String>,
pub deploy_folder: Option<String>,
pub group_id: Option<String>,
pub path: Option<String>,
pub repository: Option<String>,
pub version: Option<String>,
}Expand description
A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
This type is not used in any activity, and only used as part of another schema.
Fields§
§artifact_id: Option<String>Maven artifactId value used when uploading the artifact to Artifact Registry.
deploy_folder: Option<String>Optional. Path to a folder containing the files to upload to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/, or a relative path from /workspace, e.g. my-app/target/. This field is mutually exclusive with the path field.
group_id: Option<String>Maven groupId value used when uploading the artifact to Artifact Registry.
path: Option<String>Optional. 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: Option<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: Option<String>Maven version value used when uploading the artifact to Artifact Registry.
Trait Implementations§
Source§impl Clone for MavenArtifact
impl Clone for MavenArtifact
Source§fn clone(&self) -> MavenArtifact
fn clone(&self) -> MavenArtifact
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more