title: Jenkins pipeline: how to upload artifacts with s3 plugin
body: <p>Im trying to upload artifacts to an s3 bucket after a successful build, but i cant find any working example to be implemented into a stage/node block. </p>
  
  <p>any idea ( s3 plugin installed, jenkins v2.32 )?</p>
  
  <pre><code>node {
    sh 'echo ""&gt; 1.jar'
    archiveArtifacts artifacts: '1.jar', fingerprint: true
    // upload to s3 bucket ???
  }    
  </code></pre>