Class MavenArtifact
A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1alpha2.Data
Assembly: Google.Apis.CloudBuild.v1alpha2.dll
Syntax
public class MavenArtifact : IDirectResponseSchema
Properties
ArtifactId
Maven artifactId
value used when uploading the artifact to Artifact Registry.
Declaration
[JsonProperty("artifactId")]
public virtual string ArtifactId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GroupId
Maven groupId
value used when uploading the artifact to Artifact Registry.
Declaration
[JsonProperty("groupId")]
public virtual string GroupId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Path
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.
Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Repository
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.
Declaration
[JsonProperty("repository")]
public virtual string Repository { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Version
Maven version
value used when uploading the artifact to Artifact Registry.
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type | Description |
---|---|
System.String |