I am trying to load artifacts into the s3 bucket after a successful build, but I can not find any working example that will be implemented in the stage / node block.
any idea (s3 plugin installed, jenkins v2.32)?
node {
sh 'echo ""> 1.jar'
archiveArtifacts artifacts: '1.jar', fingerprint: true
// upload to s3 bucket ???
}
source
share