Class BuildSource
Build source required for the Build stage.
Inheritance
BuildSource
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
[JsonConverter(typeof(BuildSourceModelConverter))]
public class BuildSource
Properties
Branch
Declaration
[Required(ErrorMessage = "Branch is required.")]
[JsonProperty(PropertyName = "branch")]
public string Branch { get; set; }
Property Value
Type | Description |
---|---|
string | Branch name. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. |
Remarks
Required
RepositoryUrl
Declaration
[Required(ErrorMessage = "RepositoryUrl is required.")]
[JsonProperty(PropertyName = "repositoryUrl")]
public string RepositoryUrl { get; set; }
Property Value
Type | Description |
---|---|
string | URL for the repository. |
Remarks
Required