Table of Contents

Class BuildListItemDto

Namespace
Ando.Server.Contracts.Projects
Assembly
Ando.Server.dll

Build summary for list views.

public record BuildListItemDto : IEquatable<BuildListItemDto>
Inheritance
BuildListItemDto
Implements
Inherited Members

Constructors

BuildListItemDto(int, string, string, string, string?, string?, string, string, DateTime, DateTime?, DateTime?, TimeSpan?, int?)

Build summary for list views.

public BuildListItemDto(int Id, string CommitSha, string ShortCommitSha, string Branch, string? CommitMessage, string? CommitAuthor, string Status, string Trigger, DateTime QueuedAt, DateTime? StartedAt, DateTime? FinishedAt, TimeSpan? Duration, int? PullRequestNumber)

Parameters

Id int

Build's unique identifier.

CommitSha string

Full Git commit SHA.

ShortCommitSha string

Shortened commit SHA for display.

Branch string

Git branch that triggered the build.

CommitMessage string

Git commit message.

CommitAuthor string

Author of the Git commit.

Status string

Current build status.

Trigger string

What triggered this build.

QueuedAt DateTime

When the build was queued.

StartedAt DateTime?

When the build started executing.

FinishedAt DateTime?

When the build finished.

Duration TimeSpan?

Total build duration.

PullRequestNumber int?

PR number if this was a PR build.

Properties

Branch

Git branch that triggered the build.

public string Branch { get; init; }

Property Value

string

CommitAuthor

Author of the Git commit.

public string? CommitAuthor { get; init; }

Property Value

string

CommitMessage

Git commit message.

public string? CommitMessage { get; init; }

Property Value

string

CommitSha

Full Git commit SHA.

public string CommitSha { get; init; }

Property Value

string

Duration

Total build duration.

public TimeSpan? Duration { get; init; }

Property Value

TimeSpan?

FinishedAt

When the build finished.

public DateTime? FinishedAt { get; init; }

Property Value

DateTime?

Id

Build's unique identifier.

public int Id { get; init; }

Property Value

int

PullRequestNumber

PR number if this was a PR build.

public int? PullRequestNumber { get; init; }

Property Value

int?

QueuedAt

When the build was queued.

public DateTime QueuedAt { get; init; }

Property Value

DateTime

ShortCommitSha

Shortened commit SHA for display.

public string ShortCommitSha { get; init; }

Property Value

string

StartedAt

When the build started executing.

public DateTime? StartedAt { get; init; }

Property Value

DateTime?

Status

Current build status.

public string Status { get; init; }

Property Value

string

Trigger

What triggered this build.

public string Trigger { get; init; }

Property Value

string