You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
The directory structure is basically this after running npm build
dist -> projectname -> artifacts in javascript
e2e -> miscellaneous angular files
src -> various typescript artifacts that developer works on
When running sonar cli I've tried specifying src, dist, or the entire file directory via ' ./ '. When specifying dist, dist was scanned with SensorJS. When specifying src (which contains the typescript,javascript the dev is building), SensorJS isn't triggered and nothing is scanned. When specifying the entire directory, dist and e2e folders are scanned.
Dist folder contains the code that is running, but the src folder contains what a developer would modify to pass quality gate.
The only difference I see is that the src folder contains no .js files, thus it never gets scanned. Shouldn't this work for both ts and js files?
I want to avoid using the sonar npm dependency, because the developer skillset is limited and I wanted our CI/CD pipelines to manage the scans via the CLI tool.
Thanks,
The text was updated successfully, but these errors were encountered:
The directory structure is basically this after running npm build
dist -> projectname -> artifacts in javascript
e2e -> miscellaneous angular files
src -> various typescript artifacts that developer works on
When running sonar cli I've tried specifying src, dist, or the entire file directory via ' ./ '. When specifying dist, dist was scanned with SensorJS. When specifying src (which contains the typescript,javascript the dev is building), SensorJS isn't triggered and nothing is scanned. When specifying the entire directory, dist and e2e folders are scanned.
Dist folder contains the code that is running, but the src folder contains what a developer would modify to pass quality gate.
The only difference I see is that the src folder contains no .js files, thus it never gets scanned. Shouldn't this work for both ts and js files?
I want to avoid using the sonar npm dependency, because the developer skillset is limited and I wanted our CI/CD pipelines to manage the scans via the CLI tool.
Thanks,
The text was updated successfully, but these errors were encountered: