【发布时间】:2019-01-06 15:49:13
【问题描述】:
当作为简单代码管道的一部分启动代码构建时,我会在几秒钟内收到以下错误。
Action execution failed
Error calling startBuild: Cannot have more than 0 builds in queue for the account (Service: AWSCodeBuild; Status Code: 400; Error Code: AccountLimitExceededException; Request ID: 80bfxxxxx
我已使用 AWS 代码管道向导创建了一个简单的构建和部署过程,因此我认为这是错误配置。
我的问题是它指的是什么队列?我是在隔离任何其他 AWS 任务的情况下运行此构建?
有关信息,这是我的 buildspec.yml,虽然我怀疑在访问它之前构建失败:
version: 0.2
env:
phases:
install:
commands:
- echo Entered the install phase...
- apt-get update -y
- apt-get install -y maven
finally:
- echo This always runs even if the update or install command fails
pre_build:
commands:
- echo Entered the pre_build phase...
- cd server/harvest
finally:
- echo This always runs even if the login command fails
build:
commands:
- echo Entered the build phase...
- echo Build started on `date`
- mvn package
finally:
- echo This always runs even if the install command fails
post_build:
commands:
- echo Entered the post_build phase...
- echo Build completed on `date`
artifacts:
files:
- target/harvest-1.0-SNAPSHOT.jar
discard-paths: yes
【问题讨论】:
-
我也有同样的问题。
标签: amazon-web-services aws-codepipeline aws-codebuild