datadog-ci coverage upload adds --ignored-source-paths
Introduced 2026-08-17 · score 0.92
HOW TO USE IT
When uploading coverage and excluding selected source files, pass their patterns to `--ignored-source-paths`; the list applies to this upload and replaces the YAML `ignore` list for it.
datadog-ci coverage upload --ignored-source-paths "<pattern1>,<pattern2>" <path> [<another_path> ...]WHY THIS HELPS
Upload coverage while excluding selected source paths.
REQUIREMENTS AND LIMITATIONS
- Version: v5.23.0
- --ignored-source-paths <patterns>: Comma- or newline-separated source file patterns excluded from coverage computation. Patterns are matched server-side and sent verbatim. This list replaces the `ignore` list in `code-coverage.datadog.yml` for this upload; the lists are not merged.
- <path> [<another_path> ...] (required): One or more coverage report files, directories, or glob patterns to search; directory searches are recursive.
- Prerequisite: Set `DD_API_KEY` to a Datadog API key; it is required to authenticate requests.
FIRST-PARTY EVIDENCE
- https://github.com/DataDog/datadog-ci/releases/tag/v5.23.0
- https://github.com/DataDog/datadog-ci/blob/v5.23.0/packages/plugin-coverage/README.md
Check the installed version and the source before using it. Entry JSON