This plugin adds "Copy Job" as a build step.

You can select how to retrieve choices, including the way to share choices among all jobs.

What's this?

This plugin provides a Copy Job build step:


  1. You can add "Copy Job" build step.
  2. "Copy Job" performs additional operations. Replacing strings in the configuration, enabling a disabled job.
  3. Replacing strings can be applied to any part of configurations, including that of plugins. This is a example that the branch field of Git plugin is replaced.

How does this work?

This plugin works as following:

  1. Reads the configuration xml (config.xml) of the copying job.
  2. Applies the operations to the configuration xml string.
  3. Create a new job with the processed configuration xml string.

Extension point

A new way to provide choices can be added with implementing JobcopyOperation, overriding the following method:

public String perform(String xmlString, String encoding, EnvVars env, PrintStream logger);

or, with extending AbstractXmlJobcopyOperation, overriding the following method:

abstract public Document perform(Document doc, EnvVars env, PrintStream logger);

Used with promoted builds

When used with Promoted Builds Plugin, the configurations of promotions are not copied for they are not stored in config.xml.
Do as followings:

Permissions to copy jobs


To report a bug or request an enhancement to this plugin please create a ticket in JIRA (you need to login or to sign up for an account). Also have a look on How to report an issue

Change Log

Version 1.4.0 (Jul 24, 2016)

Version 1.3.0 (May 24, 2015)

Version 1.2.0 (Sep 11, 2014)

Version 1.1.2 (Dec 22, 2013)

Version 1.1.1 (Aug 31, 2013)

Version 1.1.0 (Feb 27, 2013)

Version 1.0.1 (Feb 06, 2013)

Version 1.0.0 (Jan 14, 2013)