Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View Copy data to workspace on the plugin site for more information.

Copies data to workspace directory for each project build.

Hudson 1.366 or later.

This plugin was created for Hudson 1.366. It might not work with earlier versions of Hudson.

User guide

This plugin copies data from directory stored on master node. The path to this directory should be relative to Hudson root path (HUDSON_HOME). All data will be copied to the project workspace directory

on master or slave node.

1. Select "Copy data to workspace" in the Build Environment (list of BuildWrappers).

2. Enter the path to a data storage directory. All data in this directory will be copied to workspace (only data, not a directory itself). Path should be relative to Hudson root path (HUDSON_HOME).
For example, Hudson root path = "C:\tmp". Path to folder = "storage\task". Plugin will copy data from directory "C:\tmp\storage\task".

3. Option "Make files executable". It means that after copying data to workspace plugin apply to each file chmod(0755). So all files become executable. On Windows, no-op.

4. Option "Delete files after build". If checked, plugin will delete all copied files from workspace after build.


Version 1.0 (February 24, 2011)
  • Initial release.


  1. Unknown User (rseguy)

    Hmm, we now have two plugins doing the same thing (cf. Copy To Slave Plugin) (wink)

    1. Unknown User (nzhelyakov)

      Hello, rseguy.

      I think that these plugins have much in common. But they are not the same. In my plugin there is "Make files executable" option.

      For my team it is very important. Because we usually copy binary files. And they must be executable. How can I see your plugin doesn't do it.

  2. Unknown User (prenaud76)

    I would rather add the missing option to the original plugin instead of making a new plugin for the same thing.

  3. Unknown User (jivesh)


        How to copy mutliple Source folder files to workspace within a job using this plugin. Now i can copy in a single directory but not an option for multiple directory.

        Please help.


    Jivesh PT

  4. Unknown User (kulkarnigovind9)

    How can we use Jenkins Build parameters in the path?

    I am trying the path like: /var/jenkins_home/jobs/My-CI-Job/builds/${BUILD_NUMBER}/log
    As I want the log file of another job to be processed by this job, and I have added a parameter which can be passed while building this job.
    So please suggest me how can I achieve that.
    As the file was not getting copied when I use the parameter in the path and it is working when I specify the value there.