Adding a Bitbucket webhook
You can specify webhooks on Bitbucket so that Bitrise automatically triggers a build of your app whenever you perform a specified action, such as a code push or a pull request.
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 Bitbucket webhook.
Admin access only
Only users with the role of admin on the app's team can access all functions of the App Settings page of an app.
-
Open your app on Bitrise.
-
Click on App Settings.
-
On the left, select Integrations.
-
Click
. -
In the pop-up window, select Bitbucket Webhooks from the dropdown menu.
-
Copy the webhook URL.
-
Navigate to your Bitbucket repository and select Settings.
-
Select Webhooks from the left.
-
Select Add Webhook.
-
Paste the Bitbucket Webhook URL from Bitrise to the URL and add a Title.
-
Select Choose from a full list of triggers.
-
Select Repository Push and Pull Request Created and Updated triggers. After you are ready press the Save button and you are ready to roll!