@@ -18,6 +18,7 @@ Commands:
1818 pr-base-picking
1919 process-test-results
2020 send-notifications
21+ upload
2122 upload-coverage
2223 upload-process
2324
@@ -189,6 +190,78 @@ Options:
189190 repo token in Self-hosted
190191 -h, --help Show this message and exit.
191192
193+ Usage: sentry-prevent-cli upload [OPTIONS]
194+
195+ Options:
196+ -C, --sha, --commit-sha TEXT Commit SHA (with 40 chars) [required]
197+ -Z, --fail-on-error Exit with non-zero code in case of error
198+ --git-service [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
199+ -t, --token TEXT Codecov upload token
200+ -r, --slug TEXT owner/repo slug used instead of the private
201+ repo token in Self-hosted
202+ --network-root-folder PATH Root folder from which to consider paths on
203+ the network section [default: (Current
204+ working directory)]
205+ -s, --dir, --coverage-files-search-root-folder, --files-search-root-folder PATH
206+ Folder where to search for coverage files
207+ [default: (Current Working Directory)]
208+ --exclude, --coverage-files-search-exclude-folder, --files-search-exclude-folder PATH
209+ Folders to exclude from search
210+ -f, --file, --coverage-files-search-direct-file, --files-search-direct-file PATH
211+ Explicit files to upload. These will be
212+ added to the coverage files found for
213+ upload. If you wish to only upload the
214+ specified files, please consider using
215+ --disable-search to disable uploading other
216+ files.
217+ --recurse-submodules Whether to enumerate files inside of
218+ submodules for path-fixing purposes. Off by
219+ default.
220+ --disable-search Disable search for coverage files. This is
221+ helpful when specifying what files you want
222+ to upload with the --file option.
223+ --disable-file-fixes Disable file fixes to ignore common lines
224+ from coverage (e.g. blank lines or empty
225+ brackets)
226+ -b, --build, --build-code TEXT Specify the build number manually
227+ --build-url TEXT The URL of the build where this is running
228+ --job-code TEXT
229+ -n, --name TEXT Custom defined name of the upload. Visible
230+ in Codecov UI
231+ -B, --branch TEXT Branch to which this commit belongs to
232+ -P, --pr, --pull-request-number TEXT
233+ Specify the pull request number manually.
234+ Used to override pre-existing CI environment
235+ variables
236+ -e, --env, --env-var TEXT Specify environment variables to be included
237+ with this build.
238+ -F, --flag TEXT Flag the upload to group coverage metrics.
239+ Multiple flags allowed.
240+ --plugin TEXT
241+ -d, --dry-run Don't upload files to Codecov
242+ --legacy, --use-legacy-uploader
243+ Use the legacy upload endpoint
244+ --handle-no-reports-found Raise no exceptions when no coverage reports
245+ found.
246+ --report-type [coverage|test-results|test_results]
247+ The type of report to upload
248+ --network-filter TEXT Specify a filter on the files listed in the
249+ network section of the Codecov report. This
250+ will only add files whose path begin with
251+ the specified filter. Useful for upload-
252+ specific path fixing
253+ --network-prefix TEXT Specify a prefix on files listed in the
254+ network section of the Codecov report.
255+ Useful to help resolve path fixing
256+ --gcov-args TEXT Extra arguments to pass to gcov
257+ --gcov-ignore TEXT Paths to ignore during gcov gathering
258+ --gcov-include TEXT Paths to include during gcov gathering
259+ --gcov-executable TEXT gcov executable to run. Defaults to 'gcov'
260+ --swift-project TEXT Specify the swift project
261+ --parent-sha TEXT SHA (with 40 chars) of what should be the
262+ parent of this commit
263+ -h, --help Show this message and exit.
264+
192265Usage: sentry-prevent-cli upload-coverage [OPTIONS]
193266
194267Options:
0 commit comments