Class BuildArtifact
Metadata for an artifact file produced by a build.
public class BuildArtifact
- Inheritance
-
BuildArtifact
- Inherited Members
Properties
Build
The build that produced this artifact.
public Build Build { get; set; }
Property Value
BuildId
ID of the build that produced this artifact.
public int BuildId { get; set; }
Property Value
CreatedAt
When the artifact was created.
public DateTime CreatedAt { get; set; }
Property Value
ExpiresAt
When the artifact will be automatically deleted. Based on the retention policy at build time.
public DateTime ExpiresAt { get; set; }
Property Value
FormattedSize
Human-readable file size.
public string FormattedSize { get; }
Property Value
Id
Unique identifier for this artifact.
public int Id { get; set; }
Property Value
IsExpired
Whether the artifact has expired and should be deleted.
public bool IsExpired { get; }
Property Value
Name
Display name for the artifact (e.g., "myapp-1.0.0.zip").
public string Name { get; set; }
Property Value
SizeBytes
File size in bytes.
public long SizeBytes { get; set; }
Property Value
StoragePath
Path to the artifact file relative to the artifacts volume root. Format: "{projectId}/{buildId}/{filename}"
public string StoragePath { get; set; }