I’m trying to make sonar.test.exclusions
to work with sonar scanner.
In the logs, it seems the folder I have mentioned is excluded correctly:
...
INFO: Excluded sources:
INFO: /srv/project-sources/scheduling/rm/rm-server/src/test/resources/functionaltests/selectionscript/*
INFO: 2242 files indexed
INFO: 8 files ignored because of inclusion/exclusion patterns
...
But then the software still try to analyse the files I have excluded ! :
...
INFO: Sensor SonarJS [javascript]INFO: 41 source files to be analyzed
INFO: 13/41 files analyzed, current file: scheduling/rest/rest-server/src/main/webapp/novnc/include/util.js
ERROR: Unable to parse file: file:///srv/project-sources/scheduling/rm/rm-server/src/test/resources/functionaltests/selectionscript/badSelectionScript.js
ERROR: Parse error at line 1 column 5:
1: bad java script code !! ^2: