Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Is there a way to initiate code push from Bitbucket server to Bamboo Server outside the network.

We have bitbucket server hosted within cooperate network that allows only a push and no pull from any server outside network like Bamboo set up in public cloud.

If I am right the current integration only allows bitbucket server to notify bamboo on code commit and bamboo pulls the code.

Is it possible for bitbucket server to push the updated code to bamboo. 

2 answers

0 votes

Bitbucket Server has no built-in push support. That being said, you could leverage the popular Repository Mirror Plugin for Bitbucket app to automatically push the code to an externally hosted mirror so that the externally hosted Bamboo instance can pull the code from there in turn.

Obvious mirror targets would be Bitbucket Cloud, GitHub, GitLab or AWS CodeCommit (esp. in case your Bamboo happens to be hosted in AWS, though that's not a requirement of course).

By chance I'm currently exploring a resp. CodeCommit mirroring process for our own use cases and apps, so if you'd like to go down that route, just let me know and I'll try to prioritize a resp. How To.

0 votes

Hi Anjali,

You can not push the updated code from bitbucket to Bamboo directly. What you can do is to create a Webhook in your repository to notify Bamboo that the code as changed. 

  1. Install the Web Post Hooks for Bitbucket Server plugin
  2. Follow the instructions found in the below documentation:
    1. POST service webhook for Bitbucket Server
    2. Triggering a Bamboo build from Bitbucket Cloud using Webhooks
    3. Git Repository - Remote trigger

If you have any further question, please feel free to create a support ticket at https://support.atlassian.com/contact/

Thank you.

best,
Gabriel Ribeiro

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
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