sincecutoff.com
← all changes

datadog-ci coverage upload adds repeatable --flags

Introduced 2026-02-03 · score 0.94

HOW TO USE IT

When uploading coverage reports for grouping or filtering, pass each report flag with a repeatable `--flags` option; use no more than 32 flags per report. [Coverage upload README](https://github.com/DataDog/datadog-ci/blob/v5.6.0/packages/plugin-coverage/README.md)

datadog-ci coverage upload --flags type:unit-tests --flags jvm-21 unit-tests/coverage-reports acceptance-tests/coverage-reports e2e-tests/coverage-report.xml

WHY THIS HELPS

When uploading coverage reports that need grouping or filtering, add custom flags to the upload command.

REQUIREMENTS AND LIMITATIONS

  • Version: v5.6.0
  • --flags <value>: Repeatable flag to mark coverage reports for grouping and filtering; maximum 32 flags per report.
  • <path> <another_path> (required): Directories, files, or glob patterns used to find coverage reports; directories are searched recursively for supported reports.
  • Prerequisite: Set `DD_API_KEY` to authenticate requests.
  • Maximum 32 flags per report.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card