Connect Bitbucket to Odoo via OEC.sh
Connect Bitbucket Cloud or Data Center to deploy Odoo on push.
Available on the Free for Bitbucket Cloud, Pro for Data Center plan.
What this integration does
OEC.sh integrates with Bitbucket Cloud and Bitbucket Data Center (self-hosted). Push and pull request events trigger deploys, while OEC.sh posts build statuses back so your pull request page shows the deploy result inline. Bitbucket Data Center connections require the Pro plan.
The integration is configured from your OEC.sh project settings. If you have not created an account yet, you can start free and connect Bitbucket in under five minutes. Compare OEC.sh against the hosted Odoo.sh option if you are still deciding where to run Odoo.
Common use cases
Atlassian-stack teams that already use Jira and Confluence and want their Odoo code in Bitbucket
Self-hosted Bitbucket Data Center customers who need managed Odoo deploys without leaving their Atlassian estate
Triggering deploys from Bitbucket Pipelines after a CI build passes
Posting deploy statuses back to the Bitbucket pull request page for fast review
How to set it up
Five steps, end to end. Most teams finish in under five minutes.
- 1In OEC.sh, go to Settings, Integrations, then click Connect Bitbucket and run the OAuth flow
- 2For Bitbucket Data Center, choose 'Self-hosted Bitbucket', add your instance URL, and provide an app password
- 3Select the workspace and repository you want to deploy from
- 4Map branches to environments and pick the trigger events (push, merge, tag)
- 5Optionally add a Bitbucket Pipeline step that calls the OEC.sh Public API for tighter control
Example payload
Here is the exact format OEC.sh sends (or that you would send to OEC.sh, in the case of GitHub Actions, GitLab CI, Bitbucket Pipelines, and n8n).
pipelines: branches: main: - step: name: Deploy to OEC.sh image: curlimages/curl:latest script: - | curl -X POST https://api.oec.sh/v1/projects/$OECSH_PROJECT_ID/deploy \ -H "Authorization: Bearer $OECSH_API_TOKEN" \ -H "Content-Type: application/json" \ -d "{ \"environment\": \"production\", \"commit\": \"$BITBUCKET_COMMIT\", \"branch\": \"$BITBUCKET_BRANCH\" }"Plan availability
Bitbucket Cloud works on Free ($0/mo). Bitbucket Data Center (self-hosted) requires Pro ($39/mo) and above.
See full pricingFrequently Asked Questions
Other integrations
Wire Bitbucket into your Odoo deploys today
Free tier included. No credit card required. Connect in under five minutes.