Enhancements to Buildspec YAML File

Learn the enhancements needed to create test reports while running the build.

Proper documentation of test results and related trends is essential for DevOps deployment. AWS CodeBuild allows us to generate test reports for the tests that run alongside our build. It also provides visibility to code coverage in our project. A developer needs to make a few changes to the build specification file to create these test reports.

The reports section

Press + to interact
reports:
<report-group-name> or arn:
files:
- <file-location>
file-format: <format-type>
base-directory: <top-level-directory>
discard-paths: yes|no

A build specification file commonly contains version, phase, and artifact sections. The reports depends on the commands specified in the ...

Get hands-on with 1400+ tech skills courses.