Skip to content

A custum bitbucket pipeline to trigger aws codeBuild and get the build status

Notifications You must be signed in to change notification settings

AhmedBenyahia/aws-codeBuild-bitbucket-pipeline

Repository files navigation

A Custom bitbucket pipeline for aws codeBuild

Run your build in an exiting aws codeBuild project using a simple node application that use aws sdk.

img.png

How To Use It

  • Optional: Create a new AWS CodeBuild Project
  • Set the aws account credentials in the config.json file. There is a simple example named config-exemple.json
  • Replace "< Put Your Code Build Project Name Here>" with the name of the aws CodeBuild Project in codebuild.pipe.js file.
  • Note: Don't forget to enable pipelines in repository setting.

What can be improved

  • A more detailed error messages when the build fail
  • Support for deployment if enabled.
  • Add a timeout in case of an error
  • Pass credentials using environment variable

About

A custum bitbucket pipeline to trigger aws codeBuild and get the build status

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published