- Describe your question in as much detail as possible:
By reading the documentation here I came up with a configuration which adds the Code-Quality job to my pipeline. The problem is that the tool is scanning my entire project instead of the directory that I have specified.
- What are you seeing, and how does that differ from what you expect to see?
My artifacts file gl-code-quality-report.json is 28.4kb, the entire project is only ~5kb. Opening the file gl-code-quality-report.json reveals that the tool is scanning every file in the repository
- What version are you on? Are you using self-managed or GitLab.com?
Add the CI configuration from
.gitlab-ci.ymland other configuration if relevant (e.g. docker-compose.yml)
- template: Code-Quality.gitlab-ci.yml
What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
I have also tried
and even tried moving the variables section to different parts of the file. Look at the commit history here, it tells the story. I’ve tried every combination known to man. At this point I have more commits of me changing my .gitlab-ci.yml than anything else