Hello @Yogesh_Dubey,
We managed to reproduce your issue by configuring a runner that only supports a shell executor and allowing it to run untagged jobs.
All the suggested gitlab-ci.yml
configurations that we provide for SonarQube can only run on runners that implement a docker executor. You can see more information about executors in the GitLab documentation.
In your case, as you can see in your logs, your runner doesn’t implement a docker executor and falls back to a shell executor which fails. The solution is to configure a runner with a docker executor to properly use the image that is provided in the CI file.
I created a ticket for improving our GitLab documentation that you can track here.
Cheers,
Dimitris