edit

Adding a Bitbucket webhook

To have Bitrise automatically start a build every time you push code into your repository you can set up a webhook at your code hosting service which will automatically trigger a build on Bitrise with the code you push to your repository.

If you have a Bitbucket webhook already set up for your app ...

If you have a Bitbucket webhook already set up for your app, simply skip to the triggers section and edit your current one according to the screenshot there.

Get the webhook URL for Bitbucket

Navigate to the Code tab of your app's page and select Bitbucket from the dropdown at the webhooks section.

Screenshot

Copy the webhook URL for the selected service.

Setup webhook on Bitbucket

Navigate to your Bitbucket repository and select Settings.

Screenshot

Select Webhooks from the left.

Screenshot

Select Add Webhook

Screenshot

Paste the Bitbucket Webhook URL from Bitrise to the URL and add a Title.

Screenshot

Choose from triggers

Select Choose from a full list of triggers.

Screenshot

Select Repository Push and Pull Request Created and Updated triggers. After you are ready press the Save button and you are ready to roll!

Screenshot