我尝试将war文件从jenkins部署到弹性bean stalk,构建成功,但当它尝试上载到s3时,显示此错误
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:
弹性豆茎的Jenkins构型
My beanstalk is in "ap-southeast-2" region
Bucket name is "elasticbeanstalk-ap-southeast-1-779583297123"
您可以查看此内容以了解更多信息
enter image description here
1条答案
按热度按时间jfgube3f1#
ap-southeast-2
中,而 S3 存储桶似乎位于ap-southeast-1
中。请在ap-southeast-2
中创建该存储桶。