@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.293Z") @Stability(value=Stable) public interface BitBucketSourceProps extends software.amazon.jsii.JsiiSerializable, SourceProps
BitBucketSource.
Example:
ISource bbSource = Source.bitBucket(BitBucketSourceProps.builder()
.owner("owner")
.repo("repo")
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
BitBucketSourceProps.Builder
A builder for
BitBucketSourceProps |
static class |
BitBucketSourceProps.Jsii$Proxy
An implementation for
BitBucketSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static BitBucketSourceProps.Builder |
builder() |
default String |
getBranchOrRef()
The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.
|
default String |
getBuildStatusName()
This parameter is used for the `name` parameter in the Bitbucket commit status.
|
default String |
getBuildStatusUrl()
The URL that the build will report back to the source provider.
|
default Number |
getCloneDepth()
The depth of history to download.
|
default Boolean |
getFetchSubmodules()
Whether to fetch submodules while cloning git repo.
|
String |
getOwner()
The BitBucket account/user that owns the repo.
|
String |
getRepo()
The name of the repo (without the username).
|
default Boolean |
getReportBuildStatus()
Whether to send notifications on your build's start and end.
|
default Boolean |
getWebhook()
Whether to create a webhook that will trigger a build every time an event happens in the repository.
|
default List<FilterGroup> |
getWebhookFilters()
A list of webhook filters that can constraint what events in the repository will trigger a build.
|
default Boolean |
getWebhookTriggersBatchBuild()
Trigger a batch build from a webhook instead of a standard one.
|
getIdentifier@Stability(value=Stable) @NotNull String getOwner()
Example:
"awslabs";
@Stability(value=Stable) @NotNull String getRepo()
Example:
"aws-cdk";
@Stability(value=Stable) @Nullable default String getBranchOrRef()
Default: the default branch's HEAD commit ID is used
Example:
"mybranch";
@Stability(value=Stable) @Nullable default String getBuildStatusName()
Can use built-in CodeBuild variables, like $AWS_REGION.
Default: "AWS CodeBuild $AWS_REGION ($PROJECT_NAME)"
Example:
"My build #$CODEBUILD_BUILD_NUMBER";
@Stability(value=Stable) @Nullable default String getBuildStatusUrl()
Can use built-in CodeBuild variables, like $AWS_REGION.
Default: - link to the AWS Console for CodeBuild to a particular build execution
Example:
"$CODEBUILD_PUBLIC_BUILD_URL";
@Stability(value=Stable) @Nullable default Number getCloneDepth()
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.
@Stability(value=Stable) @Nullable default Boolean getFetchSubmodules()
Default: false
@Stability(value=Stable) @Nullable default Boolean getReportBuildStatus()
Default: true
@Stability(value=Stable) @Nullable default Boolean getWebhook()
Default: true if any `webhookFilters` were provided, false otherwise
@Stability(value=Stable) @Nullable default List<FilterGroup> getWebhookFilters()
A build is triggered if any of the provided filter groups match.
Only valid if webhook was not provided as false.
Default: every push and every Pull Request (create or update) triggers a build
@Stability(value=Stable) @Nullable default Boolean getWebhookTriggersBatchBuild()
Enabling this will enable batch builds on the CodeBuild project.
Default: false
@Stability(value=Stable) static BitBucketSourceProps.Builder builder()
builder in interface SourcePropsBitBucketSourceProps.Builder of BitBucketSourcePropsCopyright © 2022. All rights reserved.