Class BuildRun
Each time you attempt to run a build pipeline you create one build run.
A build can be running currently, or it can be a record of the run that happened in the past.
The set of build runs constitutes a build pipeline's history.
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
Properties
BuildOutputs
Declaration
[JsonProperty(PropertyName = "buildOutputs")]
public BuildOutputs BuildOutputs { get; set; }
Property Value
BuildPipelineId
Declaration
[JsonProperty(PropertyName = "buildPipelineId")]
public string BuildPipelineId { get; set; }
Property Value
Type |
Description |
string |
The OCID of the build pipeline.
|
BuildRunArguments
Declaration
[JsonProperty(PropertyName = "buildRunArguments")]
public BuildRunArgumentCollection BuildRunArguments { get; set; }
Property Value
BuildRunProgress
Declaration
[JsonProperty(PropertyName = "buildRunProgress")]
public BuildRunProgress BuildRunProgress { get; set; }
Property Value
BuildRunSource
Declaration
[Required(ErrorMessage = "BuildRunSource is required.")]
[JsonProperty(PropertyName = "buildRunSource")]
public BuildRunSource BuildRunSource { get; set; }
Property Value
CommitInfo
Declaration
[JsonProperty(PropertyName = "commitInfo")]
public CommitInfo CommitInfo { get; set; }
Property Value
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type |
Description |
string |
The OCID of the compartment where the build is running.
|
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type |
Description |
string |
Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
|
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type |
Description |
Dictionary<string, string> |
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type |
Description |
string |
Unique identifier that is immutable on creation.
|
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type |
Description |
string |
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BuildRun.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
ProjectId
Declaration
[JsonProperty(PropertyName = "projectId")]
public string ProjectId { get; set; }
Property Value
Type |
Description |
string |
The OCID of the DevOps project.
|
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type |
Description |
DateTime? |
The time the build run was created. Format defined by RFC3339.
|
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type |
Description |
DateTime? |
The time the build run was updated. Format defined by RFC3339.
|