Skip to main content

Integrate LambdaTest With Jenkins Freestyle Project


Integrate LambdaTest Jenkins plugin with your Jenkins Freestyle project for:

  • Configure your LambdaTest credentials for your Jenkins jobs.
  • Set up and tear down the Lambda Tunnel binary file to perform automated cross browser testing even on your locally hosted web apps.
  • Embed all the test results such as video logs, network logs, and screenshots of every step performed through LambdaTest with your Jenkins job results.

Note: Before you proceed, make sure to integrate LambdaTest plugin for Jenkins.

Step 1: Create a New Item in Jenkins and select Freestyle Project.

Image**Step 2:** Go to Source Code Management and feed the repository URL.Image**Step 3:** Under the Built Environments, select LambdaTest and specify your desired capabilities. If you wish to run multiple jobs in parallel then you can **Add Selenium Test Capability**.Image

Note: It is recommended to check your network connectivity by pinging LambdaTest.

Step 4: Add a build step to Execute Shell.

Image**Step 5:** Hit the below command to **Execute Shell** and hit **save**.
python google-search-lambdatest.py
Image**Step 6:** Click on **Apply & Save** to set your configurations and then click on **"Build Now"** to execute your test.

Test On Locally Hosted Web Applications#


While specifying build environments, check the box to Use Local Tunnel. You can then specify a Tunnel name if you like, your LambdaTest Credentials will be automatically fetched.

Image

Kudos! That is all you need to know for integrating your Jenkins freestyle project with LambdaTest. In case of any questions, feel free to give us a shout. You can also drop an email to [email protected]. Happy testing! :)

Last updated on