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

Copy To Slave Plugin is unable to copy files from master to slave.

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • copy-to-slave-plugin
    • None
    • Jenkins 2.332.1

      I'm building Jenkins(with Jenkins version 2.332.1 ) pipeline and after pipeline fails with 
      Copying files from master to slave.
      I have a plugin Copy To Slave PluginVersion1.4.3.

      Could you please confirm if it is no longer available and suggest which plugin will help me to attach files to Jenkins build?

       

          [JENKINS-69803] Copy To Slave Plugin is unable to copy files from master to slave.

          sateesh kumar created issue -
          sateesh kumar made changes -
          Summary Original: Copy To Slave Plugin is unable to directories. New: Copy To Slave Plugin is unable to copy files from master to slave.

          Mark Waite added a comment -

          The Jenkins issue tracker is used to track issues. It is not intended as a question and answer forum. Question and answer interactions are better handled at https://community.jenkins.io

          https://www.jenkins.io/security/plugins/#suspensions shows that the plugin was suspended from distribution in 2018 due to https://www.jenkins.io/security/advisory/2018-03-26/#SECURITY-545 . Allowing that plugin on your controller allows arbitrary read of files on the controller file system.

          The Jenkins Pipeline task writeFile can write a file in a workspace on an agent. The scp shell command can write files to agents. Windows provides remote copy commands as well. Use one of those copy commands.

          Mark Waite added a comment - The Jenkins issue tracker is used to track issues. It is not intended as a question and answer forum. Question and answer interactions are better handled at https://community.jenkins.io https://www.jenkins.io/security/plugins/#suspensions shows that the plugin was suspended from distribution in 2018 due to https://www.jenkins.io/security/advisory/2018-03-26/#SECURITY-545 . Allowing that plugin on your controller allows arbitrary read of files on the controller file system. The Jenkins Pipeline task writeFile can write a file in a workspace on an agent. The scp shell command can write files to agents. Windows provides remote copy commands as well. Use one of those copy commands.
          Mark Waite made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            sshelomentsev Sergey Shelomentsev
            sateesh8978 sateesh kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: