jenkins_create_job
Create a Jenkins job from its XML configuration, setting the name, folder, and session as needed.
Instructions
Create a new Jenkins job from an XML configuration.
Args: job_name: Name for the new job config_xml: Job configuration in XML format (config.xml content) folder: Folder to create the job in (empty = root level) session_name: Jenkins session to use
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": {
"job_name": "<job_name>",
"config_xml": "<config_xml>"
},
"name": "jenkins_create_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | ||
| job_name | Yes | ||
| config_xml | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |