AWS S3 Artifact Plugin Error
Using this plugin from JetBrains:
https://github.com/JetBrains/teamcity-s3-artifact-storage-plugin
Artifacts do not upload to S3.
The TeamCity server is in the same region as the target S3 bucket.
Using the settings you see here we get the following error. The credentials for this IAM user have the Administrator Access access policy (just to test). The bucket list populates, so the plugin is at least able to communicate and retrieve available buckets.
[17:05:49][Publishing artifacts] Failed to publish artifacts: AWS error: The bucket is in this region: us-east-1. Please use this region to retry the request
[17:05:49]Failed to publish artifacts: AWS error: The bucket is in this region: us-east-1. Please use this region to retry the request
[17:05:49] Service: Amazon S3 HTTP Status Code: 301 AWS Error Code: 301 Moved Permanently Error Type: Client Request ID: ...
Please sign in to leave a comment.
I'd recommend to take a look at the latest version of this plugin: https://teamcity.jetbrains.com/viewLog.html?buildId=1130886&tab=artifacts&buildTypeId=TeamCityPluginsByJetBrains_AwsS3ArtifactStorage_TeamCityTrunk
Since the first release there were a number of fixes there.