Show / Hide Table of Contents

Class BuildStage

Specifies the build stage.

Inheritance
object
BuildPipelineStage
BuildStage
Inherited Members
BuildPipelineStage.Id
BuildPipelineStage.DisplayName
BuildPipelineStage.Description
BuildPipelineStage.ProjectId
BuildPipelineStage.BuildPipelineId
BuildPipelineStage.CompartmentId
BuildPipelineStage.TimeCreated
BuildPipelineStage.TimeUpdated
BuildPipelineStage.LifecycleState
BuildPipelineStage.LifecycleDetails
BuildPipelineStage.BuildPipelineStagePredecessorCollection
BuildPipelineStage.FreeformTags
BuildPipelineStage.DefinedTags
BuildPipelineStage.SystemTags
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class BuildStage : BuildPipelineStage

Properties

BuildRunnerShapeConfig

Declaration
[JsonProperty(PropertyName = "buildRunnerShapeConfig")]
public BuildRunnerShapeConfig BuildRunnerShapeConfig { get; set; }
Property Value
Type Description
BuildRunnerShapeConfig

BuildSourceCollection

Declaration
[Required(ErrorMessage = "BuildSourceCollection is required.")]
[JsonProperty(PropertyName = "buildSourceCollection")]
public BuildSourceCollection BuildSourceCollection { get; set; }
Property Value
Type Description
BuildSourceCollection
Remarks

Required

BuildSpecFile

Declaration
[JsonProperty(PropertyName = "buildSpecFile")]
public string BuildSpecFile { get; set; }
Property Value
Type Description
string

The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.

Image

Declaration
[Required(ErrorMessage = "Image is required.")]
[JsonProperty(PropertyName = "image")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BuildStage.ImageEnum? Image { get; set; }
Property Value
Type Description
BuildStage.ImageEnum?

Image name for the build environment.

Remarks

Required

PrimaryBuildSource

Declaration
[JsonProperty(PropertyName = "primaryBuildSource")]
public string PrimaryBuildSource { get; set; }
Property Value
Type Description
string

Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.

PrivateAccessConfig

Declaration
[JsonProperty(PropertyName = "privateAccessConfig")]
public NetworkChannel PrivateAccessConfig { get; set; }
Property Value
Type Description
NetworkChannel

StageExecutionTimeoutInSeconds

Declaration
[JsonProperty(PropertyName = "stageExecutionTimeoutInSeconds")]
public int? StageExecutionTimeoutInSeconds { get; set; }
Property Value
Type Description
int?

Timeout for the build stage execution. Specify value in seconds.

In this article
Back to top