title: How to copy the artifacts from slave to Jenkins workspace?
body: <p>I'm running a jenkins job on a slave and i want to store the generated artifacts in the server.Since the job is currently running on the slave the artifacts are also created there.</p>
  
  <p>I tried using post build actions --->archive the artifacts.But it throws the following build error</p>
  
  <pre><code>ERROR: No artifacts found that match the file pattern "**/*.gz". Configuration error?
  
  ERROR: '**/*.gz' doesn't match anything: '**' exists but not '**/*.gz'
  </code></pre>
  
  <p>Any help in this regards is highly appreciated.</p>