Non AWS Stash or Bitbucket integration

Karen Lee I'm New Here Dec 06, 2017


We are in the process of migrating a farm of web sites onto AWS.

Our code base is currently hosted on a Stash instance that we manage. We will be converting this to Bitbucket soon.

Are we able to integrate our hosted Bitbucket instance with AWS CodePipeline or do we need use an AWS hosted GIT repo?

Any feedback is appreciated.

Tommy Thomas

2 answers

0 vote
Timothy Chin Community Champion Dec 06, 2017

Acording to this guide, you can integrate CodePipeline with any major Git management tool out there.

Karen Lee I'm New Here Dec 06, 2017


0 vote

Other than for GitHub, AWS CodePipeline does not yet provide an official integration with Bitbucket Server, though there's a potential workaround by means of an AWS Quick Start.

AWS Quick Start

If you are willing to invest a tiny bit of work into your own (serverless) solution, you can deploy the AWS Quick Start Git Webhooks with AWS services, which provides "HTTPS endpoints and AWS Lambda functions for linking your Git repo to AWS".

This works for any kind of Git repository that supports webhooks, so should ideally work out of the box with the new webhooks available in Bitbucket Server as of release 5.4 (I've tested this with an earlier version, but had to implement a few tweaks to the serverless Quick Start code).

Potential Bitbucket Server App

That being said, the AWS Quick Start based integration is a bit limited on the usability side of things (e.g. it lacks build status API integration and commit hash based deep links) and we (Utoolity) are exploring a (commercial) Bitbucket Server App that will provide a respectively improved 'native' integration experience.

We would be happy to learn more about your use case and specific requirements, please don't hesitate to get in touch if you are interested in shaping this product.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

708 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot