Show / Hide Table of Contents

Class CommitInfo

Commit details that need to be used for the build run.

Inheritance
object
CommitInfo
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
public class CommitInfo

Properties

CommitHash

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

Commit hash pertinent to the repository URL and the specified branch.

Remarks

Required

RepositoryBranch

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

Name of the repository branch.

Remarks

Required

RepositoryUrl

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

Repository URL.

Remarks

Required

In this article
Back to top