Class CommitInfo
Commit details that need to be used for the build run.
Inherited Members
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