Page tree
Skip to end of metadata
Go to start of metadata

Bitbucket is a web hosted, source control service like GitHub. It allows you and your development team to branch in and out for better source code control and regulated integration. Unlike GitHub, Bitbucket actually allows you to build, run and test your code for CI/CD purposes. This is achieved through Bitbucket Pipeline .

To use with Bitbucket Pipeline, follow the instructions below:

In Bitbucket click on Add (Plus sign on the left hand side)

Click on Repository

  1. Choose import repository
  2. Paste the repository URL
  3. Click on Create Repository

2. Enable Pipeline

Once Bitbucket has finished import the repository, you will have to enable the Pipeline. In your repository click on Pipelines in the left-hand side panel. Bitbucket will recognize the bitbucket-pipelines.yml file that we included in our sample repository. All that is left for you is to enable to pipeline.

To learn more about Bitbucket pipeline configuration, visit Bitbucket's documentation.

The first build will fail because there is no Environment Variable that contains access key. You can simply stop the pipeline to prevent it from failing.

3. Set Environment Variable

Click on Settings in the left hand side panel and under Pipelines choose Environment Variables.

Name the variable and put your Experitest cloud platform's access key as value. Check the option to secure the access key value.

4. Trigger a Build

In the left hand side panel click on Pipelines, click on the relevant pipeline and then click Rerun.

  • No labels