Skip to main content

Integrating TestMu AI Report With Jenkins Pipeline


This documentation provides a comprehensive guide on how to integrate TestMu AI Report with your Jenkins Pipeline for web and app test automation.

Note: Before you proceed, make sure to integrate TestMu AI Plugin for Jenkins.

  1. Login to your Jenkins account. From the left menu, navigate to New Item.
Image
  1. Enter the Item name, select Pipeline and click OK.
Image

It will route you to a Configuration dashboard.

  1. From the left menu, click Pipeline.
Image
  1. In the Script field, enter your Jenkins pipeline script and click Pipeline Syntax.
Image
Best Practices

Build naming

Define LT_BUILD_NAME in your Jenkins pipeline using ${BUILD_TAG}, and reference the same in your test capabilities. This ensures each TestMu AI run is correctly mapped to its corresponding Jenkins build.

Report publishing

Add a post { always { ... } } block to your pipeline so that the report is generated after every run, regardless of the status.

  1. From the Sample Step dropdown, select lambdaTestReportPublisher:LambdaTest Pipeline Report.
Image
  1. Select either of the options: Automation or App Automation from the Select Product dropdown.
Image
  1. After selecting the product, click Generate Pipeline Script and copy the generated pipeline syntax.
Image
  1. To initiate the steps for TestMu AI Report creation, copy and paste the pipeline syntax in the Stage section of your Jenkins pipeline script. After that, click Save or Apply.
Image
  1. To initiate the build process, navigate to the left menu and select Build Now. This will start the build process.
Image
  1. Upon successful completion of the build process, click on the corresponding build.
Image
  1. To view the test report, click on the TestMu AI Pipeline Report.
Image

The test report will show up, containing build details such as Name, Status, Browser/Device, OS, and Duration.

Image

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles