Show / Hide Table of Contents

Class BuildSource

Build source required for the Build stage.

Inheritance
object
BuildSource
BitbucketCloudBuildSource
BitbucketServerBuildSource
DevopsCodeRepositoryBuildSource
GithubBuildSource
GitlabBuildSource
GitlabServerBuildSource
VbsBuildSource
Inherited Members
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
[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

In this article
Back to top