Creating Branches in Bitbucket

kunchandu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 15, 2018

Hi All

Am new to Bitbucket and recently my company got Bitbucket and want to implement the process using Pipelines with CI/CD.

Want to setup Bitbucket with Salesforce Platform.

Currently, I have 3 Salesforce Instances  1. Dev Sandbox (2) UAT/ Testing (3) Production and using Eclipse IDE for Coding.

Question : 1. Do I need to create 3 Branches in Bitbucket? 

                  2. How I Need to manage Approval process?

                  3. With One Master Branch can I manage  UAT  and  Production without creating branches for UAT Sandbox and Production.

Please help me in understand and what will be best practice to implement the Bitbucket.

 

Regards

Shaker

1 answer

0 votes
Raul Gomis
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

Hi Kuncham,

It depends on the development workflow you want to establish (there are multiple workflows that might work depending on on often you want to release, how mature is you DevOps atomisation process, etc.). One of the best approaches would be to have a Master branch with the latest stable code that you want to deploy to Production. And feature / develop branches for your tests in Dev Sandbox and UAT Testing environments.

You could have more information here about how to configure it in Pipelines: https://confluence.atlassian.com/bitbucket/branch-workflows-856697482.html

Don't forget to use our recently shipped feature Deployments to track deployments across your different environments: https://confluence.atlassian.com/bitbucket/bitbucket-deployments-940695276.html

Regards,

Raul

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events