Only the latest version of SonarQube Community Build is considered active, so you’ll need to update and see if the situation is still replicable before we can help you.
If you have questions about upgrading, feel free to open a new thread for that here.
If your error persists after update, please come back to us with your pipeline file. It needs to be begin, < build >, [ tests ], end. The fact that you’re downloading artifacts from somewhere else is highly suspicious.
after the update and some testing, the problem still persists.
I have attached the CI job that creates the SonarQube analysis in gitlab-ci-job.txt (2.5 KB). The artifacts from the test job only contain the test result and coverage data files.
The Dockerfile for the image used in this job (Dockerfile.txt (1.1 KB)) was also rebuilt so that the latest version of the SonarScanner (10.4.1) is used.
With this job running for both the develop and a feature branch, we get the following results: