Non AWS Stash or Bitbucket integration


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

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

0 votes
Timothy Chin Community Champion Dec 06, 2017

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,955 views 7 10
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