Generate CI/CD pipeline
generate_cicd_pipelineGenerate CI/CD pipeline configuration to run Newman collections in GitHub Actions, GitLab CI, Azure DevOps, Jenkins, or Docker, including report and environment options.
Instructions
Generates configuration to run Newman in CI/CD or Docker (GitHub Actions, GitLab CI, Azure DevOps, Jenkins, Dockerfile).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"collectionSource": "<collectionSource>"
},
"name": "generate_cicd_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Target platform | |
| overwrite | No | Allow replacing outputPath | |
| outputPath | No | Write the file when provided; otherwise return content only | |
| nodeVersion | No | Node version for the image or runner | 20 |
| useHtmlExtra | No | Add newman-reporter-htmlextra alongside JUnit | |
| environmentPath | No | Environment file path | |
| collectionSource | Yes | Collection (repo-relative path, https URL, or Postman UID) | |
| iterationDataPath | No | Iteration data path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| platform | Yes | ||
| writtenTo | Yes | ||
| suggestedPath | Yes | ||
| requiredSecrets | Yes |