Skip to main content

Connect Using Bitbucket Server

note

The Bitbucket Server integration is only available on our Standard or Enterprise plans. Please contact us if you require this feature.

If you are already using Bitbucket Server you can link your repository with Appflow to push code automatically.

Prerequisites

In order to enable the integration with Appflow, you will need an existing repository on your Bitbucket Server instance.

Setting up the Integration

Navigate to Apps in Appflow Dashboard, click the New button and choose either Create new app or Import app.

App List

Fill out the form and click the Connect button next to the Bitbucket Server integration.

Bitbucket Server Connect

After clicking connect, you'll need to:

  • Enter the URL for your Bitbucket Server instance
  • Enter the personal access token for your repo
    note

    If the personal access token you use has read-only access, you will need to create the webhook yourself so that Appflow receives push events. A modal will pop up after you connect to your repo giving you the details you need to create the webhook. If you use a personal access token with admin privileges, this will be done automatically for you.

  • Click the Submit button

Bitbucket Server Connect

If you have already connected the integration before, you will click the Use Bitbucket Server button. Then you can choose the repository to link from the list of available repos.

When you link to the repository, a webhook will be created and your commits will be sent to Appflow.