- Newest
- Most votes
- Most comments
It looks like my issue was in my pipeline, not the actual build spec. When building the Build stage I didn't add the BatchEnabled
property to the Configuration section. I got it working but updating my step to the following.
Stages:
- Name: Build
Actions:
- Name: Build
ActionTypeId:
Category: Build
Owner: AWS
Version: 1
Provider: CodeBuild
Configuration:
ProjectName: !Ref BuildRunner
BatchEnabled: true
I also had to update the service role with the appropriate batch build permissions and I had a typo in my build spec file (identifer -> indentifier)
Can't you see the log output from the batch build screen instead of the build log?
Probably logs are output to CloudWatch Logs for each phase (api,all).
If you open the batch history from the CodeBuild build project, you can check the status and other information.
Specifically, the screen in the following image.
I don't use batch builds in my environment, so I don't see anything, but if it is running, it should show something.
Relevant content
- asked 10 months ago
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
The batch build history is blank. I even tried using an inline buildspec file (I updated my question with that file) and I'm not getting anything. The attached service role has all the codebuild policies now too and still nothing.