Canyon Uploader

Used to scan coverage data from the local .canyon_output file and report it to the specified server.

Install

npm install -g canyon-uploader

Usage

canyon-uploader map --dsn=http://xxx.com/coverage/map/client --provider=tripgl

Parameters

ConfigurationDescriptionRequiredDefault Value
dsnCoverage report URL, the CI pipeline variable key for detection is DSNYes (fill in CI variable configuration or manually in the configuration)None
providerSource code provider (optional), defaults to GitLabOptionalgitlab
projectIDRepository IDGenerally not required to be manually configured (auto-detected from CI provider)None
shaGit Commit SHAGenerally not required to be manually configured (auto-detected from CI provider)None