Merge Gates•6 min read
CI/CD Integration & Merge Gates
Enforce deterministic CI/CD merge blocking across Jenkins, CircleCI, Bitbucket Pipelines, and ArgoCD.
1. How Merge Gates Work
A merge gate evaluates OPA Rego rules against scan output. If any rule evaluates to deny, the Kavach CLI or GitHub Check returns exit code 1, preventing developers from merging unverified vulnerabilities into production branches.
2. Jenkins Pipeline Example
Integrate Kavach into declarative Jenkinsfiles:
