Upload error from cirrus-ci

Description

I am in the process of setting up coverage reports for our project that is being build on cirrus-ci. It is a node/js project, so I have been using the codecov package from NPM.

This works fine locally, but when the CI server runs the command I get
$ ./node_modules/codecov/bin/codecov --disable=gcov


/ | | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / ` |/ _ / / _ \ \ / /
| |
| (
) | (
| | __/ (
| (
) \ V /
______/ _,|_|____/ _/
v3.5.0
==> Detecting CI Provider
Cirrus CI Detected
==> Configuration:
Endpoint: https://codecov.io
{
commit: ‘cc4dd04’,
branch: ‘feature/VP-180/coverage-reporting’,
package: ‘node-v3.5.0’
}
==> Building file structure
==> Scanning for reports
+ /usr/local/tcollett/Projects/vly1/work/coverage/lcov.info
==> Uploading reports
HTTP 400
service must be ci-provider

Repository

Versions

Running from cirrus-ci job using node with codecov 3.5.0 npm package

Additional Information

I can reproduce the issue on my local build by setting up the various CIRRUS_CI env vars as per

I should be able to work around the issue by forcing the CIRRUS_CI env var to be not set, but that seems less than ideal.

1 Like