Coder Social home page Coder Social logo

hakanbayraktar / cdk-codepipeline-bitbucket-build-result-reporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from markusl/cdk-codepipeline-bitbucket-build-result-reporter

0.0 1.0 0.0 893 KB

AWS CDK module to automatically synchronize build statuses from CodePipeline to Bitbucket

License: Apache License 2.0

JavaScript 5.19% TypeScript 94.81%

cdk-codepipeline-bitbucket-build-result-reporter's Introduction

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.

  // In your infrastructure account, add to your stack
  new CodePipelineBitbucketBuildResultReporter(stack, 'CodePipelineBitbucketBuildResultReporter', {
    bitBucketServerAddress: 'bitbucket-server.com',
    bitBucketTokenName: '/my/ssm/variable/BITBUCKET_UPDATE_BUILD_STATUS_TOKEN',
    vpc,
  });

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.