Answers: <p>You are probably looking for something like the <a href="https://plugins.jenkins.io/config-file-provider" rel="nofollow noreferrer">Config File Provider</a>. Its plugin page describes it as a plugin which:</p>
  
  <blockquote>
    <p>Adds the ability to provide configuration files (i.e., settings.xml for maven, XML, groovy, custom files, etc.) loaded through the Jenkins UI which will be copied to the job's workspace. </p>
  </blockquote>
  
  <p>If you need something more like a script (as opposed to the configuration file scenario above), you may be interested in the <a href="https://plugins.jenkins.io/managed-scripts" rel="nofollow noreferrer">Managed Script</a> plugin. This allows jobs to consume scripts which are centrally stored and defined by the Jenkins admins:</p>
  
  <blockquote>
    <p>Managed scripts are shell scripts which are managed centrally by an administrator and can be referenced as a build step within jobs.</p>
  </blockquote>
  
  <p>If these do not suit your needs, try looking at the <a href="https://plugins.jenkins.io/" rel="nofollow noreferrer">Jenkins plugins list</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2019-12-10T10:01:39.210Z
Answers: 2019-12-10T10:01:39.210Z
Answers: Bruce Becker
Body: <p>I want to copy file from different environment in jenkins. Can you please guide me to choose the plugin for copying</p>
  
Comments: CC BY-SA 4.0
Comments: 2019-12-10T09:46:10.790Z
Comments: Can you please expand on what you mean by "different environment in Jenkins"? Are you trying to copy files between agents? Or between predefined environments, as defined by labels or environment variables?
Comments: Bruce Becker
Comments: CC BY-SA 4.0
Comments: 2019-12-11T05:43:46.637Z
Comments: copy files between remote desktop servers.
Comments: user18589
Comments: CC BY-SA 4.0
Comments: 2023-04-24T01:35:08.863Z
Comments: @user18589 Are these remote desktop servers being used to as Jenkins Agents to run builds on? If they are, then there are ways to copy files between them in Jenkins. If not then you need to use something external to Jenkins like SCP, FTP, etc.
Comments: Levi
Tags: <jenkins-plugins>
Title: Which plugin is used to copy file from different environment in jenkins
UserDisplayName: user18589
ThreadText: # Which plugin is used to copy file from different environment in jenkins
  
  (Asked by: username_0 on 2019-12-10)
  
  I want to copy file from different environment in jenkins. Can you please guide me to choose the plugin for copying
  
  **Tags:** jenkins-plugins
  
  > **Comments:**
  > **username_1**: Can you please expand on what you mean by "different environment in Jenkins"? Are you trying to copy files between agents? Or between predefined environments, as defined by labels or environment variables?  
  > **username_0**: copy files between remote desktop servers.  
  > **username_2**: @username_0 Are these remote desktop servers being used to as Jenkins Agents to run builds on? If they are, then there are ways to copy files between them in Jenkins. If not then you need to use something external to Jenkins like SCP, FTP, etc.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-12-10. Score: 0
  
  You are probably looking for something like the [Config File Provider](https://plugins.jenkins.io/config-file-provider). Its plugin page describes it as a plugin which:
  
  > Adds the ability to provide configuration files (i.e., settings.xml for maven, XML, groovy, custom files, etc.) loaded through the Jenkins UI which will be copied to the job's workspace.
  
  If you need something more like a script (as opposed to the configuration file scenario above), you may be interested in the [Managed Script](https://plugins.jenkins.io/managed-scripts) plugin. This allows jobs to consume scripts which are centrally stored and defined by the Jenkins admins:
  
  > Managed scripts are shell scripts which are managed centrally by an administrator and can be referenced as a build step within jobs.
  
  If these do not suit your needs, try looking at the [Jenkins plugins list](https://plugins.jenkins.io/)
  
  
  ---
  
  