Table of Contents

Class BuildArtifact

Namespace
Ando.Server.Models
Assembly
Ando.Server.dll

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

Build

BuildId

ID of the build that produced this artifact.

public int BuildId { get; set; }

Property Value

int

CreatedAt

When the artifact was created.

public DateTime CreatedAt { get; set; }

Property Value

DateTime

ExpiresAt

When the artifact will be automatically deleted. Based on the retention policy at build time.

public DateTime ExpiresAt { get; set; }

Property Value

DateTime

FormattedSize

Human-readable file size.

public string FormattedSize { get; }

Property Value

string

Id

Unique identifier for this artifact.

public int Id { get; set; }

Property Value

int

IsExpired

Whether the artifact has expired and should be deleted.

public bool IsExpired { get; }

Property Value

bool

Name

Display name for the artifact (e.g., "myapp-1.0.0.zip").

public string Name { get; set; }

Property Value

string

SizeBytes

File size in bytes.

public long SizeBytes { get; set; }

Property Value

long

StoragePath

Path to the artifact file relative to the artifacts volume root. Format: "{projectId}/{buildId}/{filename}"

public string StoragePath { get; set; }

Property Value

string