相关疑难解决方法(0)

您尝试访问的存储区必须使用指定的端点进行寻址,同时从jenkins上传到s3

我正在尝试将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
Run Code Online (Sandbox Code Playgroud)

更多错误显示

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:
Run Code Online (Sandbox Code Playgroud)

Jenkins配置弹性豆茎

My beanstalk is in "ap-southeast-2" region  
Bucket name is "elasticbeanstalk-ap-southeast-1-779583297123"
Run Code Online (Sandbox Code Playgroud)

您可以查看此内容以获得更清晰的信息

在此输入图像描述

amazon-s3 amazon-web-services jenkins amazon-elastic-beanstalk

4
推荐指数
1
解决办法
3587
查看次数