Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47753

Pipeline-AWS-plugin: s3Download method doesn't really download object every second time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline-aws-plugin
    • None
    • Jenkins == 2.73.2
      pipeline-aws-plugin == 1.16
      Java == openjdk version "1.8.0_131"

      Sometimes when I run the Jenkins job with s3Download method, it's going to be executed, finished with 0 exit code, __ but finally nothing is really downloaded. So, the next step, relying on the S3 object, is failing because of the object absence.

      Here is how I use s3Download method

          withAWS(region: 'us-east-1') {
              s3Download(
                  file: archive, bucket: 'my-builds-us',
                  path: source_object, force: true
              )
          }

      Where is the real trick? The trick is: when I rebuild my job, pipeline-aws-plugin successfully downloads the object and the job is coming green again. Actually the issue is reproduced few months until I figured out that it might be the plugin issue.

      I see the plugin has been upgraded to 1.17, but:

      1. Update is still of out Jenkins official package repo
      2. I haven't seen this bug or bugfix in changelog.

      Please, help me to investigate this issue.

            hoegertn Thorsten Hoeger
            cazorla19 Mikhail Chinkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: