我正在尝试将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"
您可以查看此内容以获得更清晰的信息
在此输入图像描述
看起来像Beanstalk和S3桶在不同的地区.你说Beanstalk位于东南2,而S3桶似乎位于东南1.在ap-southeast-2中创建该存储桶.