You can use Probo with your instance of Bitbucket Server. Just like the Bitbucket Integration, Probo uses the build status pop-up to display the list of build steps as defined in your .probo.yaml file and their statuses. The link can be found in the Overview section of the pull request details page.

Follow these steps to get started using Probo with your instance of Bitbucket Server:

  1. Create an Application Link in Bitbucket Server.
  2. Configure authentication settings.
  3. Activate repositories.
  4. Configure webhooks.
  1. Go to the administration section of your Bitbucket Server installation and create an Application Link.
    • Click the settings gear in the top right hand corner of Bitbucket’s interface.
    • Go to the Application Links page.
    • Create a new link with the address https://app.probo.ci. Bitbucket Server administration page with arrows indicating where to click to create an Application Link.
  2. Specify https://app.probo.ci again as the Application URL. The Bitbucket Server modal popup for configuring an Application URL.

  3. Give your application a logical name, such as Probo.CI, and leave the rest of the application settings blank. The next Bitbucket Server configuration form with an arrow pointing to the Application Name field.

Configure authentication settings.

  1. Edit the application link you configured for Probo.CI. Arrow pointing to the new application link's edit icon on the Bitbucket Server Application links configuration page.

  2. In the Incoming Authentication settings, enter bitbucket.server.probo.consumer.key as the consumer key and Probo.CI as the consumer name. Bitbucket Server configuration form on Incoming Authentication tab with arrows pointing to the Consumer Key and Consumer Name fields.

  3. Enter the following public key:
      MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDeIHvKM3ruAGHSs9CKKYQ6RYVq
      fjlqVxbS9XxLnxBBd1honfmz89p9TnmwnarJoD/GA5A5SBpuOA2RCExaPxHU7iap
      s8GZ+GZk24kHcboGRu4ahLeoiWpLjz8fr2Zrsv9zK1DKFfsoXWQyPvnswvXfkIF5
      N/46a9CrOsqu2fXLewIDAQAB
    

    Bitbucket Server configuration form with arrows pointing to the Public Key field.

  4. Leave the rest of the form blank and save. Arrow pointing to the Save button on the Bitbucket Server Incoming Authentication form.

Activate repositories.

  1. Go to https://app.probo.ci/auth/stash/[your full Bitbucket Server instance url] to sign in.

    Example URL: https://app.probo.ci/auth/stash/https://stash.yourdomain.com/

    You will be prompted to login and/or grant access. We have a UI for this coming shortly, but this link will always work.

  2. Sync and enable the repositories you want to connect with Probo.

    • Press the Activate repos button.
    • Press Sync Repos and wait for Probo to pull in your Bitbucket Server repositories.
    • Enable a repository by switching the toggle next to it. Arrow pointing to the Activate Repositories button in the Probo web app. Arrow pointing to the Sync Repositories button in the Probo web app. Arrow pointing to the project activation toggle for the Foo project in the Probo web app.

Configure webhooks.

Due to limitations in the Bitbucket Server API, we cannot reliably create webhooks for your repositories. You will need to do this manually for each project you enable in Probo.

  1. Go back to Bitbucket Server, find your project, and navigate to the project settings. Arrow pointing to the Project Setting gear in Bitbucket Server.

  2. Find the webhooks (or hooks) configuration page and enable Post-Receive WebHooks. Arrow pointing to the Hooks menu item in the project settings and arrow pointing to the Enabled button for Post-Receive WebHooks.

  3. Enter https://app.probo.ci/stash-webhook as the URL.

Profit.

That’s it - now Probo will automatically kick off a build and report progress back to your Bitbucket Server instance when you push code to an open pull request.

<< Probo GitLab Server Integration Using Probo on Your Pantheon Site >>