Class BuildListItemDto
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
IdintBuild's unique identifier.
CommitShastringFull Git commit SHA.
ShortCommitShastringShortened commit SHA for display.
BranchstringGit branch that triggered the build.
CommitMessagestringGit commit message.
CommitAuthorstringAuthor of the Git commit.
StatusstringCurrent build status.
TriggerstringWhat triggered this build.
QueuedAtDateTimeWhen the build was queued.
StartedAtDateTime?When the build started executing.
FinishedAtDateTime?When the build finished.
DurationTimeSpan?Total build duration.
PullRequestNumberint?PR number if this was a PR build.
Properties
Branch
Git branch that triggered the build.
public string Branch { get; init; }
Property Value
CommitAuthor
Author of the Git commit.
public string? CommitAuthor { get; init; }
Property Value
CommitMessage
Git commit message.
public string? CommitMessage { get; init; }
Property Value
CommitSha
Full Git commit SHA.
public string CommitSha { get; init; }
Property Value
Duration
Total build duration.
public TimeSpan? Duration { get; init; }
Property Value
FinishedAt
When the build finished.
public DateTime? FinishedAt { get; init; }
Property Value
Id
Build's unique identifier.
public int Id { get; init; }
Property Value
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
ShortCommitSha
Shortened commit SHA for display.
public string ShortCommitSha { get; init; }
Property Value
StartedAt
When the build started executing.
public DateTime? StartedAt { get; init; }
Property Value
Status
Current build status.
public string Status { get; init; }
Property Value
Trigger
What triggered this build.
public string Trigger { get; init; }