bitbucket-pipelines.yml

Bitbucket pipeline configuration.

Open in YAML Formatter

About this format

Bitbucket Pipelines uses YAML files to map repository branches to build, test, and deployment scripts.

Example Data

image: node:18

pipelines:
  default:
    - step:
        name: Build and Test
        script:
          - npm install
          - npm test

When to use bitbucket-pipelines.yml

  • Automating branch tests
  • Deploying to staging servers
  • Running static analysis security tools