Setup BitBucket Integration¶
CodeMC supports integrating with BitBucket for creating new builds on commits, pull requests, or other events.
Setup Automatic Builds¶
CodeMC allows to create new builds whenever commits are done to a connected BitBucket Repository.
- Go to your repository and press the Settings Tab.
- Click Webhooks inside the column.
- Click the Add Webhook Button on the top-right of the page.
- Add
https://ci.codemc.io/bitbucket-webhook/
as the value of the URL. - For Title, set it to something recognizable (e.g.
CodeMC
). - For Which events would you like to trigger this webhook? either leave it at "Repository push" or select "Choose from a full list of triggers" and select the following options:
Pull requests
Pushes
Repositories
- Save your Webhook by clicking the Add webhook button at the bottom.