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

CodeDeploy Plugin bucket region error

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • codedeploy-plugin
    • None

      Hello,

      If you have a bucket with folders and subfolders , for example : bucket/project/dev
      you need to set it up on Jenkins CodeDeploy plugin as S3 bucket : bucket and S3 Prefix : project/dev otherwise you get the following error:

      Failed CodeDeploy post-build step; exception follows.
      The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: E7A1DFA9019D83D3)
      com.amazonaws.services.s3.model.AmazonS3Exception: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: E7A1DFA9019D83D3), S3 Extended Request ID:

      There is no info on that and when you don't set it exactly like that it throws the above error about region endpoint and this throws you in the wrong direction because in my case I was trying to figure it out what is this problem with the region , maybe it wasn't set right, maybe the plugin wasn't loading it right and so on .

            jmcfar Josh McFarlane
            gorjdesign Dragos Rosculete
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: