Add Bitbucket Pipelines example

This commit is contained in:
Robert Slootjes 2026-01-13 08:19:10 +01:00 committed by GitHub
parent 31b5f73197
commit b25d405972
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -271,6 +271,7 @@ iex "& { $(iwr 'https://github.com/AikidoSec/safe-chain/releases/latest/download
- ✅ **Azure Pipelines** - ✅ **Azure Pipelines**
- ✅ **CircleCI** - ✅ **CircleCI**
- ✅ **Jenkins** - ✅ **Jenkins**
- ✅ **Bitbucket Pipelines**
## GitHub Actions Example ## GitHub Actions Example
@ -360,6 +361,21 @@ pipeline {
} }
``` ```
## Bitbucket Pipelines Example
```yaml
image: node:22
steps:
- step:
name: Install
script:
- npm install -g @aikidosec/safe-chain
- safe-chain setup-ci
- export PATH=~/.safe-chain/shims:$PATH
- npm ci
```
After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection. After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection.
# Troubleshooting # Troubleshooting