ci-integration
Installation
SKILL.md
CI Integration
Overview
These are some common workflows that one can add in their CI pipeline leveraging postman cli.
Run a collection — a gated pipeline step
postman collection run <path/id> exits nonzero on a failed pm.test
assertion, which is what makes it a usable gate — see api-testing for how
that exit code actually gets set. What's CI-specific: -r junit,html (or
--reporter-*-export) writes a report your CI provider can surface as
build artifacts or test annotations, instead of leaving the result buried in
a log. --bail stops the run early on the first failure when a fast signal
matters more than a full report.