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

Must include region in s3 bucket URL; support for GovCloud

    XMLWordPrintable

Details

    • 1.8

    Description

      artifact-manager-s3-plugin hardcodes the S3 endpoint URL as:

      https://%s.s3.amazonaws.com/

      See https://github.com/jenkinsci/artifact-manager-s3-plugin/blob/cca5bc848c1acf59524ae66cf983d0fe6e9a9667/src/main/java/io/jenkins/plugins/artifact_manager_jclouds/s3/S3BlobStore.java#L164

       

      The region must be included for US GovCloud support.

       

      It also must be included for all buckets made after September 30, 2020: https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/

       

      The URL should be:

      https://%s.s3.<region>.amazonaws.com/

      Attachments

        Issue Links

          Activity

            candrews candrews added a comment - Here's a pull request: https://github.com/jenkinsci/artifact-manager-s3-plugin/pull/97

            People

              jglick Jesse Glick
              candrews candrews
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: