Integrating LambdaTest Report With Jenkins Pipeline
This documentation provides a comprehensive guide on how to integrate LambdaTest Report with your Jenkins Pipeline for web and app test automation.
Note: Before you proceed, make sure to integrate LambdaTest Plugin for Jenkins.
- Login to your Jenkins account. From the left menu, navigate to New Item.
![Image](/support/assets/images/new_item-3cccd353022dea0db82b70c3f453fcf5.png)
- Enter the Item name, select Pipeline and click OK.
![Image](/support/assets/images/ok-de36f56ef0a8b2e15a77def940cbfbd4.png)
It will route you to a Configuration dashboard.
- From the left menu, click Pipeline.
![Image](/support/assets/images/pipeline-3826f320c705136e19c7a0e939961969.png)
- In the Script field, enter your Jenkins pipeline script and click Pipeline Syntax.
![Image](/support/assets/images/enter_script-0180100fe61a067b717c82524b665154.png)
- From the Sample Step dropdown, select
lambdaTestReportPublisher:LambdaTest Pipeline Report
.
![Image](/support/assets/images/reportdrop-d889dcdf0643d34644f661f71b09c574.png)
- Select either of the options: Automation or App Automation from the Select Product dropdown.
![Image](/support/assets/images/automation-ded32a1070598a177f26c5e2677eb66f.png)
- After selecting the product, click Generate Pipeline Script and copy the generated pipeline syntax.
![Image](/support/assets/images/generatedsyntax-d7d9c2ab1fc19906ae702b84df58cbc7.png)
- To initiate the steps for LambdaTest Report creation, copy and paste the pipeline syntax in the Stage section of your Jenkins pipeline script. After that, click Save or Apply.
![Image](/support/assets/images/save-ad0585dac40da336471113e2357369f4.png)
- To initiate the build process, navigate to the left menu and select Build Now. This will start the build process.
![Image](/support/assets/images/buildnow-98f1073a88bd2628dbeb033e0251b8c7.png)
- Upon successful completion of the build process, click on the corresponding build.
![Image](/support/assets/images/build-53bc641662ef8a2ac8a6579d821a4f77.png)
- To view the test report, click on the LambdaTest Pipeline Report.
![Image](/support/assets/images/pipelinereport-db498818ced9460f3dee14bee1cdce9d.png)
The test report will show up, containing build details such as Name, Status, Browser/Device, OS, and Duration.
![Image](/support/assets/images/generatedreport-b0dc6063465265c0e7a73c2ba032a2ea.png)