jenkins_copy_job
Copies an existing Jenkins job to a new name with identical configuration, enabling quick duplication of builds, pipelines, or tasks without manual reconfiguration.
Instructions
Copy/clone an existing Jenkins job to a new name.
The new job will have identical configuration to the source.
Args: source_job: Name of the job to copy new_name: Name for the new job session_name: Jenkins session to use
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| source_job | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |