Viewing test results in Jenkins

After you run tests that are in a Jenkins Freestyle project or a Jenkins Pipeline project, you can view the test results within the Jenkins interface.

Before you begin

You must have completed the following tasks:

About this task

After the test run is complete, you can view the test results in a tabular format when you use the Jenkins Test Results Analyzer plugin. With a Test Results Analyzer-based report, you can filter the results based on the status of the build. The status of the builds can be PASSED, FAILED, or SKIPPED. You can also identify the failed build from the Test Results Analyzer-based report and take the required action to resolve the build errors. The TRA report also represents the build information in Line, Bar, and Pie graphs so that you can easily read the data.

Procedure

  1. Open the Jenkins Freestyle project or Pipeline project on the Jenkins Dashboard.
  2. Click Build Now by selecting the relevant job in Jenkins.
  3. Verify that the project has been rebuilt under the Build History option.
  4. Select the most recent build for the job under Build History.
  5. Click the Integration Tester Results link on the left pane.
    runtests
  6. Alternatively, click Test Results Analyzer option to view the history of test results in a tabular format.

Results

An output page is shown with a HCL® Quality Server results page embedded. The relevant test suite results are displayed.