Skip to content

Latest commit

 

History

History
93 lines (49 loc) · 3.16 KB

File metadata and controls

93 lines (49 loc) · 3.16 KB

API Reference

Constructs

CodePipelineBitbucketBuildResultReporter

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.

Initializers

import { CodePipelineBitbucketBuildResultReporter } from 'cdk-codepipeline-bitbucket-build-result-reporter'

new CodePipelineBitbucketBuildResultReporter(scope: Construct, id: string, props: CodePipelineBitbucketBuildResultReporterProps)
scopeRequired

idRequired
  • Type: string

propsRequired

Structs

CodePipelineBitbucketBuildResultReporterProps

Common properties.

Initializer

import { CodePipelineBitbucketBuildResultReporterProps } from 'cdk-codepipeline-bitbucket-build-result-reporter'

const codePipelineBitbucketBuildResultReporterProps: CodePipelineBitbucketBuildResultReporterProps = { ... }
bitbucketServerAddressRequired
public readonly bitbucketServerAddress: string;
  • Type: string

The BitBucket server address.


bitbucketAccessTokenNameOptional
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.


vpcOptional
public readonly vpc: VpcAttributes;

The VPC in which to run the status reporter.