Description
I’m upgrading the orb in circleci to use v3.1.1 which uses the new codecov uploader. It looks like the upload works but the build is marked as a failure because codecov seems to be returning an exit code of 4. Mainly I want to know where the exit code is coming from and what it means.
Commit SHAs
Private repository
Repository
Private repository
CI/CD or Build URL
circleci
Uploader
v3.1.1 circleci orb
Codecov Output
#!/bin/bash -eo pipefail
chmod +x $filename
args=()
[[ -n “test-results/junit/.json" ]] && args+=( "-f test-results/junit/.json” )
[[ -n “-v” ]] && args+=( “-v” )
curl -H “Accept: application/json” “https://uploader.codecov.io/${os}/latest” | grep -o ‘"version":"v[0-9._]+"’ | head -1
./$filename
-Q “codecov-circleci-orb-3.1.0”
-t “${CODECOV_TOKEN}”
-n “${CIRCLE_BUILD_NUM}”
-F “client”
${args[@]}
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 642 100 642 0 0 23777 0 --:–:-- --:–:-- --:–:-- 23777
“version”:“v0.1.8”
Exited with code exit status 4
CircleCI received exit code 4
Expected Results
Success
Actual Results
Failure
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.