从jenkins上传到s3时,必须使用指定的终结点对您尝试访问的存储桶进行寻址 [英] The bucket you are attempting to access must be addressed using the specified endpoint , while uploading from jenkins to s3
本文介绍了从jenkins上传到s3时,必须使用指定的终结点对您尝试访问的存储桶进行寻址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将战争文件从jenkins部署到弹性bean茎上,构建成功,但是当它尝试上传到s3时,则显示此错误
i am trying to deploy the war file from jenkins to elastic bean stalk, the build is successful , but when it tries to upload to s3 , it is showing this error
Uploading file awseb-2152283815930847266.zip as s3://elasticbeanstalk-ap-southeast-1-779583297123/jenkins/My App-jenkins-Continuous-Delivery-
MyApp-Stage-promotion-Deploy-14.zip
Cleaning up temporary file /tmp/awseb-2152283815930847266.zip
FATAL: Deployment Failure
java.io.IOException: Deployment Failure
进一步的错误显示
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:
弹性豆茎的詹金斯配置
My beanstalk is in "ap-southeast-2" region
Bucket name is "elasticbeanstalk-ap-southeast-1-779583297123"
您可以对此进行更清晰的了解
You can have a look at this for more clarity
推荐答案
像Beanstalk和S3存储桶之类的视图位于不同的区域.您说过Beanstalk位于ap-southeast-2中,而S3存储桶似乎位于ap-southeast-1中.在ap-southeast-2中创建该存储分区.
Looks like Beanstalk and the S3 bucket are in different regions. You stated that Beanstalk is in ap-southeast-2, while it seems that the S3 bucket is in ap-southeast-1. Create that bucket in ap-southeast-2.
这篇关于从jenkins上传到s3时,必须使用指定的终结点对您尝试访问的存储桶进行寻址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文