BitBucketSourceProps Struct
Construction properties for BitBucketSource.
Example
const bbSource = codebuild.Source.bitBucket({
owner: 'owner',
repo: 'repo',
});
Properties
branchOrRefstringbranch_or_refstrbranchOrRefStringBranchOrRefstringBranchOrRef*string= the default branch's HEAD commit…#default · example
Default: the default branch's HEAD commit ID is used
'mybranch'
buildStatusNamestringbuild_status_namestrbuildStatusNameStringBuildStatusNamestringBuildStatusName*string= "AWS CodeBuild $AWS_REGION ($PRO…#Can use built-in CodeBuild variables, like $AWS_REGION.
default · example
Default: "AWS CodeBuild
"My build #$CODEBUILD_BUILD_NUMBER"
buildStatusUrlstringbuild_status_urlstrbuildStatusUrlStringBuildStatusUrlstringBuildStatusUrl*string= link to the AWS Console for Code…#Can use built-in CodeBuild variables, like $AWS_REGION.
default · example
Default: link to the AWS Console for CodeBuild to a particular build execution
"$CODEBUILD_PUBLIC_BUILD_URL"
Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build of the project.
fetchSubmodulesbooleanfetch_submodulesboolfetchSubmodulesBooleanFetchSubmodulesboolFetchSubmodules*bool= false#This property is required on secondary sources.
example
'awslabs'
example
'aws-cdk'
reportBuildStatusbooleanreport_build_statusboolreportBuildStatusBooleanReportBuildStatusboolReportBuildStatus*bool= true#default
Default: true if any webhookFilters were provided, false otherwise
webhookFiltersFilterGroup[]webhook_filterstyping.List[FilterGroup]webhookFiltersList<FilterGroup>WebhookFiltersFilterGroup[]WebhookFilters*[]FilterGroup= every push and every Pull Reques…#A build is triggered if any of the provided filter groups match. Only valid if webhook was not provided as false.
default
Default: every push and every Pull Request (create or update) triggers a build
webhookTriggersBatchBuildbooleanwebhook_triggers_batch_buildboolwebhookTriggersBatchBuildBooleanWebhookTriggersBatchBuildboolWebhookTriggersBatchBuild*bool= false#Enabling this will enable batch builds on the CodeBuild project.