I have a situation I can’t figure out and I’m hoping someone can help me. I recent enabled codecov for a repo I work in by adding it to our CICD (Jenkins) pipeline. This uploads coverage reports on both PRs and merges to master. When I look at the logs for merges to the master branch, I see things like this being printed (details stripped):
==> Uploading reports url: https://codecov.io query: branch=master&commit=COMMIT_SHA&build=285&build_url=BUILD_URL&name=&tag=&slug=SLUG&flags=&pr=&job= -> Pinging Codecov https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=COMMIT_SHA&build=285&build_url=BUILD_URL&name=&tag=&slug=SLUG&service=jenkins&flags=&pr=&job= -> Uploading -> View reports at https://codecov.io/github/OWNER/REPO/commit/COMMIT_SHA
However, when I go to the repo on https://codecov.io/gh/OWNER/REPO, I see a message about “Not enough recent commits found with current parameters”. If I go into the branches view and find the master branch specifically, I see the same message, but with a “No commits found.” content view. However if I click on that final link, then I see the commit I’m looking for.
The way I’ve understood it is that the commits are all uploaded, but for some reason they aren’t associated with the master branch (note the
branch=master part of the query though).
How do I fix this? What am I missing with the setup?