Skip to content
This documentation applies to Codacy Self-hosted v2.0.0

For the latest updates and improvements, see the latest Cloud documentation instead.

Commit SHA hash detection

Codacy automatically detects a commit SHA hash from several sources in the following order:

CI providers

  • Appveyor
  • Bitrise
  • Buildkite
  • Circle CI
  • Codefresh
  • Codeship
  • Docker
  • Gitlab
  • Greenhouse CI
  • Heroku CI
  • Jenkins
  • Magnum CI
  • Semaphore CI
  • Shippable CI
  • Solano CI
  • TeamCity CI
  • Travis CI
  • Wercker CI

Git repository directory

  • If it finds a git directory it will get current commit.

Force commit SHA hash

  • You can force using a specific commit SHA hash with:
codacy-coverage-reporter report -l Java --commit-uuid "my_commit_hash" -r coverage.xml

Share your feedback 📢

Did this page help you?

Thanks for the feedback! Is there anything else you'd like to tell us about this page?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

If you have a question or need help please contact support@codacy.com.

Last modified July 16, 2020