Values.BuildSourceInformation about a build.
type nonrec t = {id : NonEmptyString.t option;The unique ID for the build.
*)arn : NonEmptyString.t option;The Amazon Resource Name (ARN) of the build.
*)buildNumber : WrapperLong.t option;The number of the build. For each project, the buildNumber of its first build is 1. The buildNumber of each subsequent build is incremented by 1. If a build is deleted, the buildNumber of other builds does not change.
*)startTime : Timestamp.t option;When the build process started, expressed in Unix time format.
*)endTime : Timestamp.t option;When the build process ended, expressed in Unix time format.
*)currentPhase : String_.t option;The current build phase.
*)buildStatus : StatusType.t option;The current status of the build. Valid values include: FAILED: The build failed. FAULT: The build faulted. IN_PROGRESS: The build is still in progress. STOPPED: The build stopped. SUCCEEDED: The build succeeded. TIMED_OUT: The build timed out.
*)sourceVersion : NonEmptyString.t option;Any version identifier for the version of the source code to be built. If sourceVersion is specified at the project level, then this sourceVersion (at the build level) takes precedence. For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
*)resolvedSourceVersion : NonEmptyString.t option;An identifier for the version of this build's source code. For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. For CodePipeline, the source revision provided by CodePipeline. For Amazon S3, this does not apply.
*)projectName : NonEmptyString.t option;The name of the CodeBuild project.
*)phases : BuildPhases.t option;Information about all previous build phases that are complete and information about any current build phase that is not yet complete.
*)source : ProjectSource.t option;Information about the source code to be built.
*)secondarySources : ProjectSources.t option;An array of ProjectSource objects.
*)secondarySourceVersions : ProjectSecondarySourceVersions.t option;An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
*)artifacts : BuildArtifacts.t option;Information about the output artifacts for the build.
*)secondaryArtifacts : BuildArtifactsList.t option;An array of ProjectArtifacts objects.
*)cache : ProjectCache.t option;Information about the cache for the build.
*)environment : ProjectEnvironment.t option;Information about the build environment for this build.
*)serviceRole : NonEmptyString.t option;The name of a service role used for this build.
*)logs : LogsLocation.t option;Information about the build's logs in CloudWatch Logs.
*)timeoutInMinutes : WrapperInt.t option;How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out this build if it does not get marked as completed.
*)queuedTimeoutInMinutes : WrapperInt.t option;The number of minutes a build is allowed to be queued before it times out.
*)buildComplete : Boolean.t option;Whether the build is complete. True if complete; otherwise, false.
*)initiator : String_.t option;The entity that started the build. Valid values include: If CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline). If a user started the build, the user's name (for example, MyUserName). If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.
*)vpcConfig : VpcConfig.t option;If your CodeBuild project accesses resources in an Amazon VPC, you provide this parameter that identifies the VPC ID and the list of security group IDs and subnet IDs. The security groups and subnets must belong to the same VPC. You must provide at least one security group and one subnet ID.
*)networkInterface : NetworkInterface.t option;Describes a network interface.
*)encryptionKey : NonEmptyString.t option;The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key. You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format alias/<alias-name>).
*)exportedEnvironmentVariables : ExportedEnvironmentVariables.t option;A list of exported environment variables for this build. Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.
*)reportArns : BuildReportArns.t option;An array of the ARNs associated with this build's reports.
*)fileSystemLocations : ProjectFileSystemLocations.t option;An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.
*)debugSession : DebugSession.t option;Contains information about the debug session for this build.
*)buildBatchArn : String_.t option;The ARN of the batch build that this build is a member of, if applicable.
*)autoRetryConfig : AutoRetryConfig.t option;Information about the auto-retry configuration for the build.
*)}val make :
?id:??? ->
?arn:??? ->
?buildNumber:??? ->
?startTime:??? ->
?endTime:??? ->
?currentPhase:??? ->
?buildStatus:??? ->
?sourceVersion:??? ->
?resolvedSourceVersion:??? ->
?projectName:??? ->
?phases:??? ->
?source:??? ->
?secondarySources:??? ->
?secondarySourceVersions:??? ->
?artifacts:??? ->
?secondaryArtifacts:??? ->
?cache:??? ->
?environment:??? ->
?serviceRole:??? ->
?logs:??? ->
?timeoutInMinutes:??? ->
?queuedTimeoutInMinutes:??? ->
?buildComplete:??? ->
?initiator:??? ->
?vpcConfig:??? ->
?networkInterface:??? ->
?encryptionKey:??? ->
?exportedEnvironmentVariables:??? ->
?reportArns:??? ->
?fileSystemLocations:??? ->
?debugSession:??? ->
?buildBatchArn:??? ->
?autoRetryConfig:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of WrapperInt.t
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Boolean of WrapperBoolean.t
| `Enum of string
| `Integer of GitCloneDepth.t
| `List of
[> `Structure of (string * [> `String of String_.t ]) list ]
list
| `Long of WrapperLong.t
| `String of String_.t
| `Structure of
(string
* [> `Boolean of WrapperBoolean.t
| `Enum of string
| `String of String_.t ])
list
| `Timestamp of Timestamp.t ])
list ]
list
| `Long of WrapperLong.t
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of WrapperBoolean.t
| `Enum of string
| `Integer of GitCloneDepth.t
| `List of
[> `Enum of string
| `String of NonEmptyString.t
| `Structure of
(string * [> `Enum of string | `String of NonEmptyString.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Boolean of WrapperBoolean.t
| `Enum of string
| `List of [> `String of NonEmptyString.t ] list
| `Long of WrapperLong.t
| `String of String_.t
| `Structure of (string * [> `String of String_.t ]) list ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]