Bitbucket Pipelines Integration¶
To configure the CICD with Bitbucket, use the following example:
---
image: alpine/curl:8.12.1
pipelines:
default:
- step:
name: Deploy
script:
# Your deployment scripts here
- step:
name: Escape
trigger: manual # Set to manual if you wish to run this step manually
deployment: staging # Assuming staging environment for deployment
script:
- curl -sf https://raw.githubusercontent.com/Escape-Technologies/cli/refs/heads/main/scripts/install.sh | sh
- escape-cli scan start ${ESCAPE_APPLICATION_ID} --watch
services:
- docker
caches:
- node
size: 2x
max-time: 10
variables:
ESCAPE_APPLICATION_ID: $ESCAPE_APPLICATION_ID
ESCAPE_API_KEY: $ESCAPE_API_KEY