Configuring authentication

Authentication parameters on Allure TestOps and Bamboo

The task

We need Bamboo to be able to send test results to Allure TestOps server, and we need Allure Server to be able to start build jobs on Bamboo side.

Two steps

There are 2 authentications we need to configure:

  1. Authenticate Bamboo CI, so it will be able to send test results from build jobs to Allure TestOps server.
  2. Authenticate Allure TestOps to start build jobs on Bamboo side.

Authenticate Bamboo in Allure TestOps

Generate secret token on Allure TestOps side

This authentication token will be used by Bamboo to authenticate in Allure TestOps server.

Here, you will find the description on how to generate Allure TestOps secret token.

Follow the steps and get back to this page.

Setup integration of bamboo build server with Allure TestOps

  1. Open plan configuration page Actions > Configure plan
  2. Navigate to Miscellaneous tab
  3. Setup server settings

if yo see this please report to support.qameta.io

  1. Save plan configuration

Setup Stages & Jobs

  1. Open build job configuration page
  2. Navigate to Miscellaneous tab
  3. Setup allure test results path

if yo see this please report to support.qameta.io

  1. Save build job configuration

Authenticate Allure TestOps to start build jobs on Bamboo side

Integration steps

Integration with Bamboo build server requires following steps:

  1. Create credentials on Bamboo side (preferable a dedicated user for the integration).
  2. Add Bamboo’s credentials to Allure TestOps configuration.
  3. Add Bamboo build server in Allure TestOps configuration.

Create credentials for Bamboo server on Allure TestOps side

Jump to the Administration of Allure TestOps and then proceed to the Credentials section.

  1. Create credentials for Bamboo CI with meaningful name

  2. And basic credentials type.

    if yo see this please report to support.qameta.io

  3. Provide username and password of Bamboo’s user account.

Create build server for Bamboo on Allure TestOps side

In the Administration area of Allure TestOps jump to Build server section and create new build server for your Bamboo instance.

  1. Name is a label for your build server
  2. Endpoint is the URL of Bamboo CI.
  3. Type should be bamboo
  4. Credentials are to be the ones you created on previous step.
  5. Test the connection.
  6. Submit the data.

if yo see this please report to support.qameta.io

These two steps you’ve just made will allow you to send test results from Bamboo to Allure and will allow Allure TestOps to start build jobs on Bamboo build server.

Back to Bamboo integrations