message: Fix the S3 uploads on CI
diff: @@ -375,7 +375,7 @@ def buildPerformance() {
  ./parse_bench_hist.py --local-html results/ core-benchmarks/
  """
  zip dir: 'test/bench', glob: 'core-benchmarks/**/*', zipFile: 'core-benchmarks.zip'
  - rlmS3Put file: 'core-benchmarks.zip', path: 'downloads/core/'
  + rlmS3Put file: 'core-benchmarks.zip', path: 'downloads/core/core-benchmarks.zip'
  publishHTML(target: [allowMissing: false, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'test/bench/results', reportFiles: 'report.html', reportName: 'Performance Report'])
  withCredentials([[$class: 'StringBinding', credentialsId: 'bot-github-token', variable: 'githubToken']]) {
  sh "curl -H \"Authorization: token ${env.githubToken}\" " +
  @@ -559,8 +559,8 @@ def doPublishGeneric() {
  unstash 'packages-generic'
  def files = findFiles(glob: '**/*.tgz')
  for (file in files) {
  - rlmS3Put file: file.path, path: 'downloads/core/'
  - rlmS3Put file: file.path, path: "downloads/core/${gitDescribeVersion}/linux/"
  + rlmS3Put file: file.path, path: "downloads/core/${file.name}"
  + rlmS3Put file: file.path, path: "downloads/core/${gitDescribeVersion}/linux/${file.name}"
  }
  }
  @@ -579,8 +579,8 @@ def doPublishLocalArtifacts() {
  def path = publishingStash.replaceAll('___', '/')
  def files = findFiles(glob: '**')
  for (file in files) {
  - rlmS3Put file: file.path, path: "downloads/core/${gitDescribeVersion}/${path}/"
  - rlmS3Put file: file.path, path: "downloads/core/"
  + rlmS3Put file: file.path, path: "downloads/core/${gitDescribeVersion}/${path}/${file.name}"
  + rlmS3Put file: file.path, path: "downloads/core/${file.name}"
  }
  deleteDir()
  }
  