-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Climate test reporter command fails. #387
Comments
Dear Team, |
Hi @harshmittal29 - It looks like you might need to use low level commands to tell the test reporter where your coverage file is. Here's a few examples of how to do that:
Let me know if that resolves the error message. Happy to take another look. 👍 |
Thanks @efueger .
|
Experiencing the same thing and am using the Cobertura Gradle Plugin. |
@harshmittal29 On second glance of your config.yml file, I noticed this: Have you configured Cobertura into Gradle at all? That config suggests otherwise. |
Hi @harshmittal29 and @amccaleb, Are you using these instructions:
(Link to JACOCO_SOURCE_PATH.) If you are already using that:
Thanks, |
I am setting up my config.yml file for Circle CI.
The cc-test-reporter command fails.
config.yml file
Logs on Circle CI
Flags:
-s, --batch-size int batch size for source files (default 500)
-e, --coverage-endpoint string endpoint to upload coverage information to (default "https://api.codeclimate.com/v1/test_reports")
-t, --coverage-input-type string type of input source to use [clover, cobertura, coverage.py, excoveralls, gcov, gocov, jacoco, lcov, simplecov]
--exit-code int exit code of the test run
-r, --id string reporter identifier (default "")
--insecure send coverage insecurely (without HTTPS)
-p, --prefix string the root directory where the coverage analysis was performed (default "/home/circleci/mva")
Global Flags:
-d, --debug run in debug mode
Exited with code 255
My CircleCI repo https://circleci.com/gh/mindvalley/Mobile_Android_MVA/2038
The text was updated successfully, but these errors were encountered: