sap-btp-devopslisted
Install: claude install-skill williamcorrea23/sap-router-skill
# SAP BTP DevOps
CI/CD on SAP BTP — automated build, test, and deployment pipelines for CAP and Fiori applications.
## Prerequisites
- SAP BTP subaccount with CF enabled
- Git repository (GitHub, GitLab, or Bitbucket)
- CF CLI installed: `cf install-plugin MTAPlugin` (MTA deploy plugin)
- `mbt` (MTA Build Tool): `npm install -g mbt`
- Node.js ≥ 18, npm ≥ 9
- SAP Continuous Integration and Delivery service entitlement (optional, for BTP-native CI/CD)
- For production deploys: CF credentials stored as CI secrets
## 1. Configure SAP CI/CD Service Pipeline
```yaml
# .pipeline/config.yml — placed in repo root
general:
productiveBranch: main
buildTool: mta
stages:
Build:
mtaBuild:
buildTarget: CF
mtaBuildTool: cloudMbt
Test:
npmTest:
command: npm test
Lint:
npmLint:
command: npm run abap:lint
Deploy to DEV:
cfDeploy:
deployType: standard
cfApiEndpoint: https://api.cf.us10.hana.ondemand.com
cfOrg: my-org
cfSpace: dev
deployTool: mtaDeployPlugin
Deploy to PRD:
cfDeploy:
cfSpace: prd
manualConfirmation: required
```
```bash
# Add webhook in Git provider pointing to CI/CD service
# BTP Cockpit → Continuous Integration and Delivery → Add repository → Connect webhook
```
## 2. GitHub Actions Pipeline (Alternative)
```yaml
# .github/workflows/btp-cicd.yml
name: BTP CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-deploy:
runs-on