A CDK construct for reporting CodePipeline build statuses to a BitBucket server using BitBucket REST API.
You need to configure SSM parameter BITBUCKET_UPDATE_BUILD_STATUS_TOKEN
before using the construct.
import { CodePipelineBitbucketBuildResultReporter } from 'cdk-codepipeline-bitbucket-build-result-reporter'
new CodePipelineBitbucketBuildResultReporter(scope: Construct, id: string, props: CodePipelineBitbucketBuildResultReporterProps)
- Type:
constructs.Construct
- Type:
string
- Type:
cdk-codepipeline-bitbucket-build-result-reporter.CodePipelineBitbucketBuildResultReporterProps
Common properties.
import { CodePipelineBitbucketBuildResultReporterProps } from 'cdk-codepipeline-bitbucket-build-result-reporter'
const codePipelineBitbucketBuildResultReporterProps: CodePipelineBitbucketBuildResultReporterProps = { ... }
public readonly bitbucketServerAddress: string;
- Type:
string
The BitBucket server address.
public readonly bitbucketAccessTokenName: string;
- Type:
string
- Default: BITBUCKET_UPDATE_BUILD_STATUS_TOKEN
The SSM parameter (SecureString) name that contains the BitBucket access token for reporting build statuses.
public readonly vpc: VpcAttributes;
The VPC in which to run the status reporter.