Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cdk-codepipeline-bitbucket-build-result-reporter

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk-codepipeline-bitbucket-build-result-reporter

A JSII construct lib for reporting AWS CodePipeline and build statuses to a Bitbucket server instance

  • 1.13.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
160
decreased by-36.25%
Maintainers
1
Weekly downloads
 
Created
Source

NPM version Release

cdk-codepipeline-bitbucket-build-result-reporter

Automatically report all CodePipeline build results to a Bitbucket server. For details, see the Bitbucket REST API documentation https://docs.atlassian.com/bitbucket-server/rest/4.0.0/bitbucket-build-rest.html.

Usage

Install

Add the library to your AWS CDK project:

npm i --save cdk-codepipeline-bitbucket-build-result-reporter

Configure

Configure the Bitbucket token that is used to synchronize statuses:

aws ssm put-parameter --name "/my/ssm/variable/BITBUCKET_UPDATE_BUILD_STATUS_TOKEN" --value "<generated-token>" --type "SecureString"

Use

Note: stack must be a CDK deployment stage so that the bundled Lambda asset will be properly deployed.

  // AWS CDK 2.0
  import { App, Stack, aws_ssm as ssm, aws_ec2 as ec2 } from 'aws-cdk-lib';

  const bitbucketAccessTokenName = '/my/ssm/variable/BITBUCKET_UPDATE_BUILD_STATUS_TOKEN';

  // In your infrastructure account, add to your stack
  new CodePipelineBitbucketBuildResultReporter(stack, 'CodePipelineBitbucketBuildResultReporter', {
    bitbucketServerAddress: 'bitbucket-server.com',
    bitbucketAccessTokenName,
    vpc: fakeVpc,
  });

Keywords

FAQs

Package last updated on 22 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc