Authentication parameters on Allure TestOps side
We need to generate secret token on Allure TestOps side. CI server will use this token for authentication.
Token is generated under a TestOps user account in the profile section.
This user should have only
ROLE_USERauthority assigned in settings (Administration > Users). We strongly advise to not use
ROLE_ADMINfor the integrations as it could lead to undesired consequences in case of human errors.
Generate secret token on Allure TestOps side
This authentication token will be used by Jenkins to authenticate in Allure TestOps server.
- Log in to Allure TestOps with dedicated account you are going to use to upload test results. That could be your profile as well.
- Go to user’s profile.
- In the section API tokens click a green button that says Create.
- Name your API token and click Submit. Always give meaningful names to all the configuration parameters.
Allure will randomly generate the token and show you in modal window.
- Copy the token and save it in a safe place as it cannot be retrieved by Allure TestOps means.