Integrate Testsigma with Jenkins


Jenkins is an open-source automation server used for CI/CD and build automation. You can trigger Testsigma test plans directly from Jenkins to streamline testing in your pipelines.



Prerequisites

Before you begin, ensure that you have:


Trigger Testsigma Test Plans from Jenkins

  1. Log in to your Jenkins instance.
  2. From the Jenkins Dashboard, click + New Item. Jenkins Dashboard
  3. Enter a Name, select Freestyle Project, and click Ok. Ok
  4. In the Configuration page, scroll to Build Steps and click Add build steps. Configuration
  5. Select Execute Shell from the dropdown menu. Execute Shell
  6. Copy the Unix Shell Script from the Generic Shell Script page and paste it into the Execute Shell codebox.
NOTE:

Replace values of TESTSIGMAAPIKEY and TESTSIGMATESTPLAN_ID with your Testsigma API Key and Test Plan Execution ID. Values in Shell Script

  1. Click Save. Save
  2. In the project details page, click Build Now to trigger the Testsigma test plan. Build Now
  3. In Testsigma Dashboard > Test Plans, verify the test plan execution has started. Test Plans
  4. Click Build, and select Console Log to view execution logs. Console Log
  5. Go to Testsigma Dashboard > Run Results to review detailed execution results. Run Results