Adding a Gitlab webhook

You can set up webhooks 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. For GitLab, all you have to do is register your bitrise-webhooks URL as a Webhook in your GitLab repository.

You can register a webhook either automatically or manually. This guide walks you through the process of manually registering a webhook.

  1. Open your app on Bitrise.

  2. Go to the Code tab of your app’s page and in the INCOMING WEBHOOKS menu, click SETUP MANUALLY.

  3. Select GitLab from the dropdown menu.

    Adding a Gitlab webhook
  4. Copy the webhook URL for the selected service.

  5. Open your project on

  6. Go to Settings of the project.

  7. Select Integrations.

    Adding a Gitlab webhook
  8. Enter the bitrise-webhooks URL in the URL field.

    Adding a Gitlab webhook
  9. In the Trigger section select:

    • Push events

    • Tag push events

    • Merge request events

    Adding a Gitlab webhook
  10. Click Add webhook.

That’s all! The next time you push code, push a new tag or create/update a merge request a build will be triggered (if you have Trigger mapping defined for the event(s) on Bitrise).