copy_job
Copy a Jenkins job's configuration to a new name to reuse settings. The target inherits source settings but not build history or workspaces.
Instructions
Copy an existing job's configuration to a new name.
The target inherits the source's settings, including its enabled or disabled state; build history and workspaces are not copied. Both source and target must be inside MCP_ALLOWED_JOBS. Jenkins requires Job/ExtendedRead on the source and Job/Create on the target parent; it also requires source Job/Configure when extended-read redacts secrets.
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": {
"source_job": "<source_job>",
"target_job": "<target_job>"
},
"name": "copy_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_job | Yes | ||
| target_job | Yes |