Skip to content

Bitbucket Pipelines

Bitbucket Pipelines provides a powerful CI/CD solution integrated with your Bitbucket repositories. This guide explains how to use Bitbucket Pipelines to automate the build and deployment of Martini packages.

Overview

Bitbucket Pipelines simplifies the process of building and deploying Martini packages by automating these tasks within your Bitbucket environment. The provided code is designed for easy integration with your Bitbucket Pipelines setup.

Steps to Configure Bitbucket Pipelines

  1. Access the Bitbucket Pipelines Code:
  2. The configuration code for Bitbucket Pipelines is available on Lonti's Bitbucket account. You can access it here. The code is public and can be invoked directly by your Bitbucket Pipeline.

  3. Reference the Code in Your Pipeline:

  4. Clone or fork the repository from Bitbucket:
    1
    git clone https://bitbucket.org/LontiPlatform/bitbucket-pipelines.git
    
  5. Follow the instructions provided in the repository to integrate the code with your Bitbucket Pipelines configuration. This typically involves adding the bitbucket-pipelines.yml file to your repository.

  6. Configure Your Pipeline:

  7. Customize the pipeline configuration to match your repository and deployment needs. This may include setting environment variables, secrets, or custom build commands.

  8. Deploy Packages:

  9. With the pipeline configured, Bitbucket Pipelines will handle the building and deployment of your Martini packages according to the pipeline configuration.

Additional Resources