pub struct MavenArtifact {
pub artifact_id: 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.
group_id: Option<String>Maven groupId value used when uploading the artifact to Artifact Registry.
path: Option<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: 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 moreSource§impl Debug for MavenArtifact
impl Debug for MavenArtifact
Source§impl Default for MavenArtifact
impl Default for MavenArtifact
Source§fn default() -> MavenArtifact
fn default() -> MavenArtifact
Source§impl<'de> Deserialize<'de> for MavenArtifact
impl<'de> Deserialize<'de> for MavenArtifact
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for MavenArtifact
impl Serialize for MavenArtifact
impl Part for MavenArtifact
Auto Trait Implementations§
impl Freeze for MavenArtifact
impl RefUnwindSafe for MavenArtifact
impl Send for MavenArtifact
impl Sync for MavenArtifact
impl Unpin for MavenArtifact
impl UnwindSafe for MavenArtifact
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more