merge to master branch after successful deploy to production


We have bitbucket and bamboo setup in our environment.

We have created a release build in bamboo and production deploy the same.

Now we want to push the code that went to production to Master branch in bitbucket after the deployment is successful.

1. Is it advisable?

2. If advisable and possible then how? 

3. If any other good approach please enlighten. Thanks


1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 09, 2019



1. Yes, it sounds good, but why after deployment? Maybe after all validation, then merge into master. Then deployment plan will trigger to deploy 

2. Yes, it is possible

3. Please, have a look hooks on

we did it by own hooks



Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events