Allure TestOps import test results from Jenkins CI

Import of the test results from Jenkins CI

Prerequisites

  1. You’ve added a project to Allure TestOps
  2. You’ve assigned WRITE access rights to a user which will import the test results to this project.
  3. You’ve configured a build job

Tasks

You need to run the configured job to import test results.

Import test results

Start your build job from Jenkins and jump to Allure TestOps project’s Launches section.

If you followed the instructions carefully, you will see the following in the Launches section of your Allure TestOps project:

Check the integration of Jenkins and Allure After the build job has finished, you might want to review the tests, if everything is all right, then you can close the launch and Allure TestOps will create the documentation for your automated tests based on the test results.

Closing the launch: Close a launch in Allure

Now, jump to Test cases section of your project and check the test cases which Allure created based on your results.

Allure creates live documentation

As you can see, there is no information about the environments on which our tests run.

But Allure TestOps is capable of gathering this information from the CI server. Moreover Allure TestOps can request the usage of a specific requirement, which we will see later on.

That’s it!

Now, it is worth to set up the gathering of the information about the test environments.