It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Non AWS Stash or Bitbucket integration

Karen Lee 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

1 vote
Steffen Opel [Utoolity] Community Leader Dec 06, 2017

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 Leader Dec 06, 2017

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

Karen Lee Dec 06, 2017


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,067 views 1 20
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you