- Description
- How to use it
- 1. Create new feature branch
- 2. Make changes and export them in Build.One
- 3. Push changes back via Source Control in Gitpod
- 4. Create pull request in Bitbucket
- 5. Review pull request
- 6. Merge pull request
- Additional way
Description
Build.One provides version control through git. Thanks to this, developers can implement new features in their applications through branches. In these branches, several developments can be carried out in parallel and then merged into the same version.
How to use it
In this example we use Bitbucket to handle the version control system, but other tools like gitlab or github can be used.
1. Create new feature branch
- Go to the Jira ticket that you want work on and click ‘Create Branch’ with ‘Bitbucket Cloud’
- Fill out form and click ‘Create’
2. Make changes and export them in Build.One
- Click ‘Gitpod’ (if the button is not visible, install the browser extension first)
- Once your Build.One development enviroment is up and running, you can make any changes that you want. Once you finish go to Deliver > Changed Objects and find there all your changes.
- To be able to commit your changes you need to export them. For this you have three options:
- Export All Data. Export all changes (base, menu, repository objects and types, n8n workflows)
- Export Changes Objects. Export just the repository objects
- Export Automation-Hub. Export just n8n workflows
3. Push changes back via Source Control in Gitpod
- Go to Source Control on the left side to see a list of all the changes
- Click ‘Stage All Changes’ via + button
- Add commit message
- To sync your changes with the repository click ‘Sync Changes’
‣
4. Create pull request in Bitbucket
- Go to Bitbucket, choose the corresponding branch and click ‘Create pull request’
- Tick checkbox ‘Delete branch’ to delete the source branch after the pull request is merged
5. Review pull request
- Check the commits on the branch and approve it if it is done
6. Merge pull request
- Once the pull request is approved, you can merged by clicking on ‘merge’
Additional way
You are also able to create branches directly from Bitbucket. To do so navigate to your repository and go to the section “Branches” and click on the button in the top right corner (Step 2 -6 remains the same)
Back to Documentation
Back to Home Page