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:
- Authenticate Bamboo CI, so it will be able to send test results from build jobs to Allure TestOps server.
- 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
- Open plan configuration page Actions > Configure plan
- Navigate to Miscellaneous tab
- Setup server settings
- Save plan configuration
Setup Stages & Jobs
- Open build job configuration page
- Navigate to Miscellaneous tab
- Setup allure test results path
- Save build job configuration
Authenticate Allure TestOps to start build jobs on Bamboo side
Integration steps
Integration with Bamboo build server requires following steps:
- Create credentials on Bamboo side (preferable a dedicated user for the integration).
- Add Bamboo’s credentials to Allure TestOps configuration.
- 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.
-
Create credentials for Bamboo CI with meaningful name
-
And basic credentials type.
-
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.
- Name is a label for your build server
- Endpoint is the URL of Bamboo CI.
- Type should be bamboo
- Credentials are to be the ones you created on previous step.
- Test the connection.
- Submit the data.
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.