create_pipeline_job
Create a Jenkins Pipeline job from an inline Jenkinsfile to automate builds and reference credential IDs in code.
Instructions
Create a Pipeline job from an inline Jenkinsfile.
The script runs in the Groovy sandbox. Requires workflow-job and workflow-cps, both included in the workflow-aggregator plugin. Reference Jenkins credential IDs; do not put plaintext secrets in the Jenkinsfile. The generated XML must fit MCP_MAX_REQUEST_BYTES.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| description | No | Managed by Jenkins MCP | |
| jenkinsfile | Yes |