Skip to content
Global coverage report uploader for Codecov
Shell Other
  1. Shell 99.6%
  2. Other 0.4%
Branch: master
Clone or download

Codecov Global Uploader

Upload reports to Codecov for almost every supported language.

Deployed Version

SHA1Sum: hash file

# All CI
bash <(curl -s

# Pipe to bash (Jenkins)
curl -s | bash -s - -t token
#                                           ^ add your extra config here

# No bash method
curl -s > .codecov
chmod +x .codecov


Codecov supports many languages, you can find a full list here:


Below are most commonly used settings. View full list of commands to see the full list of commands.

# public repo on Travis CI
  - bash <(curl -s
# private repo
  - bash <(curl -s -t your-repository-upload-token
# Flag build types
  - bash <(curl -s -F unittests
# Include environment variables to store per build
  - bash <(curl -s -e TOX_ENV,CUSTOM_VAR

Prevent build failures

If Codecov fails to upload reports, you can ensure the CI build does not fail by adding a catch-all:

bash <(curl -s || echo "Codecov did not collect coverage reports"

CI Providers

Company Supported Token Required
Travis CI Yes Build Status Private only
Azure Pipelines Yes Private only
CircleCI Yes Private only
Codeship Yes Public & Private
Jenkins Yes Public & Private
Semaphore Yes Public & Private
TeamCity. Yes Public & Private Yes Public & Private
AppVeyor Yes Private only
Bamboo Yes Public & Private
Bitbucket Yes Public & Private
Bitrise Yes Public & Private
buddybuild Yes Public & Private
Buildkite Yes Public & Private
Heroku Yes Public & Private
Wercker Yes Public & Private
Shippable Yes Public & Private
Gitlab CI Yes Public & Private
Buildkite Yes Public & Private
GitHub Actions Yes Private only
Cirrus CI Yes Public & Private
AWS CodeBuild Yes Public & Private
git Yes (as a fallback) Public & Private


  1. Jenkins: Unable to find reports? Try PWD=WORKSPACE bash <(curl -s


Once you made a change to the codecov uploader script, please also update the hash file via:

shasum codecov > SHA1SUM

and add the change to your pull request.

You can’t perform that action at this time.