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.
You can register a webhook either automatically or manually. This guide walks you through the process of manually registering a webhook. Read more about automatic webhook registration.
Get the webhook URL for Bitbucket ⚓
- Go to the
Codetab of your app’s page and in the
INCOMING WEBHOOKSmenu, click
Bitbucketfrom the dropdown menu.
- Copy the webhook URL for the selected service.
Setup webhook on Bitbucket ⚓
Navigate to your Bitbucket repository and select
Webhooksfrom the left.
Paste the Bitbucket Webhook URL from Bitrise to the
URLand add a
Choose from a full list of triggers.
Pushand Pull Request
Updatedtriggers. After you are ready press the
Savebutton and you are ready to roll!