Class BuildInfo
Represents build information related to the currently running Artemis build
Namespace: Artemis.Core.Services.Core
Assembly: Artemis.Core.dll
Syntax
public class BuildInfo
Constructors
BuildInfo()
Declaration
public BuildInfo()
Properties
BuildId
Gets the unique ID of this build
Declaration
[JsonProperty]
public int BuildId { get; }
Property Value
Type | Description |
---|---|
int |
BuildNumber
Gets the build number. This contains the date and the build count for that day.
Per example 20210108.4
Declaration
[JsonProperty]
public double BuildNumber { get; }
Property Value
Type | Description |
---|---|
double |
BuildNumberDisplay
Gets the build number formatted as a string. This contains the date and the build count for that day.
Per example 20210108.4
Declaration
public string BuildNumberDisplay { get; }
Property Value
Type | Description |
---|---|
string |
IsLocalBuild
Gets a boolean indicating whether the current build is a local build
Declaration
public bool IsLocalBuild { get; }
Property Value
Type | Description |
---|---|
bool |
SourceBranch
Gets the branch of the triggering repo the build was created for.
Declaration
[JsonProperty]
public string SourceBranch { get; }
Property Value
Type | Description |
---|---|
string |
SourceVersion
Gets the commit ID used to create this build
Declaration
[JsonProperty]
public string SourceVersion { get; }
Property Value
Type | Description |
---|---|
string |