e[0;90m->e[0m Uploading
e[0;31mX>e[0m Failed to upload
[0;90m->e[0m Sleeping for 30s and trying again…
[0;90m->e[0m Pinging Codecov
And eventually it responds with a 200 response. I have my token set in the codecov.yml which is detected by the system. Jenkins is reporting the build status correctly to GitHub and I’ve used codecov fine with Travis for open source projects before.
I checked the raw report and it looks like there is something wrong with the path you gave the uploader. The only file it uploaded as “coverage” was a file named <redacted>.app.coverage.txt
In addition, it did not locate any directory named unittests
The best way to troubleshoot something like this is to add the -d flag and pipe the output to a file. This will output the report to stdout, instead of uploading it, and you can view what you are sending us to make sure it matches what you expect.
It appears to upload the report successfully and the “Publish Cobertura Coverage Report” post-build action completes successfully (I can view coverage stats in Jenkins).
However, I still see the There was an error processing coverage reports. message.
If you use the -d flag to dump the report, do the file paths in the overage match the paths in the network section? That’s the most common reason for that message, but if you can provide a full commit SHA I can take a look in the logs and database.
Ok so I figured out an issue. I was missing a dash in the bash -s -- part. So now when I do it codecov detects the reports from slather. I still am seeing the error though in the dashboard. Here’s a commit SHA 70039c71f35d5cca0b34a8d371f8ceba602214a3