Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10691

Add an option to override destination folder on master node

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: copy-to-slave-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.424
    • Similar Issues:

      Description

      Hi there,

      I'd like to see a new option added to the Copy to slave plugin.

      At the moment, if sub-jobs from a matrix project are built on slave nodes, the plugin provides the option to "Copy files back to the job's workspace on the master node". Is it possible to add an option to override the destination path on the master node? Copying back to the job's workspace is not always ideal - in my case I'd like to copy to ${JENKINS_HOME}/current_build - can this feature be added?

      Regards,
      Tom.

        Attachments

          Activity

          Hide
          tfields Thomas Fields added a comment -

          Hi Romain,

          Thank you for updating the plugin.

          I clicked "Override destination folder" and entered a new path on the master node and the files were copied back as expected. However, when I checked the log I got the output attached.

          Regards,
          Tom.

          Show
          tfields Thomas Fields added a comment - Hi Romain, Thank you for updating the plugin. I clicked "Override destination folder" and entered a new path on the master node and the files were copied back as expected. However, when I checked the log I got the output attached. Regards, Tom.
          Hide
          tfields Thomas Fields added a comment -

          Attached log file.

          Show
          tfields Thomas Fields added a comment - Attached log file.
          Hide
          tfields Thomas Fields added a comment -

          Hi Romain,

          Did you get chance to look at the log file? Any ideas what's going wrong?

          Cheers,
          Tom.

          Show
          tfields Thomas Fields added a comment - Hi Romain, Did you get chance to look at the log file? Any ideas what's going wrong? Cheers, Tom.
          Hide
          rseguy Romain Seguy added a comment -

          I've had no time for that.

          Show
          rseguy Romain Seguy added a comment - I've had no time for that.
          Hide
          tfields Thomas Fields added a comment -

          Hi Romain,

          I've just tried your updated plugin again and this time I didn't get any errors. Obviously lots of stuff has changed on my end so I'll keep you posted if it comes back. Can the update plugin be released into the wild?

          Regards,
          Tom.

          Show
          tfields Thomas Fields added a comment - Hi Romain, I've just tried your updated plugin again and this time I didn't get any errors. Obviously lots of stuff has changed on my end so I'll keep you posted if it comes back. Can the update plugin be released into the wild? Regards, Tom.

            People

            Assignee:
            rseguy Romain Seguy
            Reporter:
            tfields Thomas Fields
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: