Sonar warning on issues in excluded files

Hello,
I have the pattern:
**/cypress/fixtures/**/*
excluded everywhere. However I am still seeing warnings on this file in a PR
test/e2e/cypress/fixtures/files/htmlFileCustom1.html
Screenshot of warnings:

Screenshots of exclusions


Same for code coverage exclusions and duplications exclusions (I cant upload more screenshots).

This is our command on the PR

npx sonarqube-scanner \
                        -Dsonar.organization=aaa \
                        -Dsonar.projectKey=aaa_ui-creatives \
                        -Dsonar.sources=. \
                        -Dsonar.pullrequest.key=${ghprbPullId} \
                        -Dsonar.pullrequest.base=${ghprbTargetBranch} \
                        -Dsonar.pullrequest.branch=${ghprbSourceBranch} \
                        -Dsonar.test.inclusions="**/*.spec.ts" \
                        -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info

Any ideas? Thank you!

Hi,

Can you share the analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann