Skip to content
Testsigma DOCS

CI/CD

Integrate Testsigma with Bitbucket CI


You can trigger tests automatically with Bitbucket integration with Testsigma. This article explains how to integrate Bitbucket with Testsigma for CI/CD purposes.


Prerequisites

Before you begin, ensure that you have referred to:


Steps to Integrate Bitbucket with Testsigma

Section titled “Steps to Integrate Bitbucket with Testsigma”
  1. On your project, navigate to Repository > Pipelines. Bitbucket Project

  2. Click on Create your first pipeline and select Starter pipeline. Create First Pipeline

  3. Create a job using the below YML sample.

pipelines:
default:
- parallel:
- step:
name: 'Build and Test'
script:
- echo "Your build and test goes here..."
- echo "Calling Shell Script of testsigma"
- chmod a+x testsigma-cicd.sh
- ./testsigma-cicd.sh
  1. In the shell script, provide the Test Plan ID and API Key. Test Plan In Shell Script

  2. Once you have created the YML script, click on Commit to run the job. Commit

  3. Once the job is completed you can see the execution report as an XML report based on the path you have shared on the shell script. Report